ruff - ultra-fast Python Linting & Formatting | Django example

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024

Комментарии • 34

  • @anatolehagbe7301
    @anatolehagbe7301 Месяц назад +4

    As always, you delivered a masterclass.😍

    • @bugbytes3923
      @bugbytes3923  Месяц назад

      Thanks a lot, really appreciate the nice comment, cheers!

  • @majestif
    @majestif Месяц назад +1

    Amazing tutorial, clear and concise.

  • @mauisam1
    @mauisam1 Месяц назад +2

    You give a lot of great advice and you explain very well. I have liked and Subscribed as I am looking forward to more great videos. I am a self taught programmer and this will help me get rid of some bad habits. Thank you for your hard work, as a fellow YT content creator I know it take a lot work work to do this.

    • @bugbytes3923
      @bugbytes3923  Месяц назад

      @@mauisam1 that’s amazing, thank you for sharing! Best of luck with your own YT journey!

  • @gonzadev
    @gonzadev Месяц назад +2

    Thanks I share a lot of your videos!

    • @bugbytes3923
      @bugbytes3923  Месяц назад +1

      @@gonzadev thank you, appreciate it!

  • @Amir-bd4uk
    @Amir-bd4uk Месяц назад +1

    Thanks for the great video

    • @bugbytes3923
      @bugbytes3923  Месяц назад

      @@Amir-bd4uk thanks for watching!!

  • @guptaji0786
    @guptaji0786 Месяц назад +5

    Make a video on django multi user type login and registration system.

    • @bugbytes3923
      @bugbytes3923  Месяц назад +1

      I'll have a think about this. If anyone has any specific ideas on this concept, feel free to share!

    • @myoji5580
      @myoji5580 Месяц назад

      1. Product: Seller, Customer, Admin, Moderator
      2. Community: Writer, Moderator, Admin. Judege bad reply

    • @shopme1122
      @shopme1122 Месяц назад

      @@myoji5580 Have an auth model and provide user_type options and make it db_index=true. Now create models that save data of each role. Like Seller, Customer, Admin Moderator and use them accordingly

  • @solijonovasadbek4552
    @solijonovasadbek4552 Месяц назад +2

    Bravo Bro!

  • @iamtechboy3298
    @iamtechboy3298 Месяц назад +1

    Hats off brother

  • @NuwanChamara-e1e
    @NuwanChamara-e1e Месяц назад

    really helpful. thanks..

  • @twilkpsu
    @twilkpsu Месяц назад +1

    Bravo!🎉🎉🎉

  • @frameff9073
    @frameff9073 Месяц назад

    good thank

  • @themarksmith
    @themarksmith Месяц назад +2

    Do you (or do you know how to correctly) use Prettier when working on Django HTML templates, or do you use DJ lint - or can Ruff also help here, or do you use/do something else entirely? - (I found Prettier causes probs with Django templates which is a shame)

    • @guptaji0786
      @guptaji0786 Месяц назад +2

      Use django support extension in vs code. Or djhtml python package for formatting django html template.

    • @themarksmith
      @themarksmith Месяц назад

      @@guptaji0786 Will give that a try - cheers

    • @bugbytes3923
      @bugbytes3923  Месяц назад +2

      I tend to use djhtml for Django templates, as a pre-commit hook, in real projects. See this recent video: ruclips.net/video/MdAnOz2w4nY/видео.html
      I only use Prettier if I'm using React/Next or some other JavaScript/TypeScript stack.

    • @themarksmith
      @themarksmith Месяц назад

      @@bugbytes3923 Thanks - will check the video - I need to buy you a coffee for all this great content - cheers!

    • @madusan1
      @madusan1 Месяц назад +1

      I abandoned prettier. I prefer djhtml. I have used djlint also.

  • @HikmetDemirci-l9y
    @HikmetDemirci-l9y Месяц назад

    I like ruff but I noticed that it has problems with formatting nested lists. It tends to put comma's were there shouldn't be.

  • @missunderstood7050
    @missunderstood7050 Месяц назад

    Great video. Subscribed. Can you please make a video of how to set up notifications properly in Django(Using Django ninja )?

    • @bugbytes3923
      @bugbytes3923  Месяц назад +1

      Thanks a lot! I'll have a look into this.