Django ORM - Updating and Deleting QuerySets / ForeignKey on_delete behaviour

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 44

  • @MuhammedKamaal
    @MuhammedKamaal 3 місяці тому +2

    Thank you alot sir , please make a playist about dajngo signals and continue with django rest framework , You are the best !

    • @bugbytes3923
      @bugbytes3923  3 місяці тому

      @@MuhammedKamaal thanks a lot! I’ll do the signals video soon!

  • @azzeddinezyani
    @azzeddinezyani 2 місяці тому +1

    I'm grateful, man; you are the best.

    • @bugbytes3923
      @bugbytes3923  2 місяці тому

      Thanks a lot man - appreciate the comment, cheers!

  • @Davidkiania
    @Davidkiania Рік тому +4

    Love this waited a month for this series 😅 Yes want to learn about signals.

    • @bugbytes3923
      @bugbytes3923  Рік тому +2

      Thanks 🙏 I’ll start preparing a signals video soon!

  • @立法院很忙
    @立法院很忙 Рік тому +1

    Saved! Gonna watch this during the weekend when I have more time. Thanks!

  • @AmoahDevLabs
    @AmoahDevLabs Рік тому +1

    Thanks for continuing this series.

  • @muokinzangi3067
    @muokinzangi3067 10 місяців тому

    Yes, teach about Signals on Django. your work is really great and helpful. Keep it up!

  • @open-source243
    @open-source243 6 місяців тому +2

    Thank you so much for this amazing playlist 🎉😊

    • @bugbytes3923
      @bugbytes3923  6 місяців тому +1

      No problem, glad you liked it, and thanks for the comment!

    • @open-source243
      @open-source243 6 місяців тому

      Thank you, All the best 😊

  • @MostafaHammad-we1mz
    @MostafaHammad-we1mz 8 місяців тому

    Much obliged!! You explain everything in such simple detail and it's been VERY helpful!! THANK you!!

  • @iwswordpress
    @iwswordpress 11 місяців тому

    Excellent series! Signals would be so helpful! Great channel :)

    • @bugbytes3923
      @bugbytes3923  11 місяців тому

      Thanks a lot! And noted, I will get round to a signals video soon!

  • @Dorso2009
    @Dorso2009 Рік тому +1

    YES to signals! 🤘

  • @saptechstuff1497
    @saptechstuff1497 Рік тому

    Thanks again for this series, very helpful

    • @bugbytes3923
      @bugbytes3923  Рік тому

      Thank you, glad you are finding it helpful!

  • @JustinSpryce
    @JustinSpryce Рік тому +2

    Great lesson

  • @repotranstech
    @repotranstech Рік тому +3

    Cool video as always.On top of that can you add functionality where you check multiple checkboxes and update with htmx and Django querysrt.

    • @bugbytes3923
      @bugbytes3923  Рік тому +1

      Thanks!
      I'm doing an upcoming Django + HTMX series (building a finance tracker) - this exact functionality will be in this app, coming soon!

  • @امینجمالی-خ9ص
    @امینجمالی-خ9ص 2 місяці тому

    MUCH OBLIGED and YESSSSSSSSSSS for signals

    • @bugbytes3923
      @bugbytes3923  2 місяці тому +1

      Thanks - will be doing this in the very near future (finally!)

  • @tayyabullah7460
    @tayyabullah7460 22 дні тому

    awesome worm sir please django signal series

    • @bugbytes3923
      @bugbytes3923  19 днів тому

      Signals video is coming next week!

  • @Bartburger02
    @Bartburger02 Рік тому +2

    +1 on signals

  • @losco_arti
    @losco_arti Рік тому

    I let you know I'm interested in you making a video about signals 😁

    • @bugbytes3923
      @bugbytes3923  Рік тому

      Thanks, will be doing something very soon!

  • @Peterstavrou
    @Peterstavrou Рік тому +1

    I've noticed that by default most people simply use the .save() method when updating single fields rather than specifying specific fields such as restaurant.save(update_fields=['name']). Is there much performance improvement specifying specific fields or should we stick to .save() for ease?

    • @bugbytes3923
      @bugbytes3923  Рік тому +2

      I think that update_fields can help if you have a lot of database overhead, as it does cut down the data that's being sent to the DB server. But for most apps, it won't really have much impact I don't think. save() should work fine!
      Might be interesting to do a video on load testing with these two (and other) techniques to try and quantify the performance difference. Might look into that!

  • @thinkingcitizen
    @thinkingcitizen 6 місяців тому

    Thanks so much man. Had an interesting observation in my SQL - My .save(update_fields=...) executed 50% SLOWER than my regular .save( ) ! Is this expected or is something wrong with my sqllite? Intuitively, I thought the opposite would happen.

    • @bugbytes3923
      @bugbytes3923  6 місяців тому

      That's interesting. No idea why that happens with SQLite. I agree, I'd have expected the opposite!

  • @frameff9073
    @frameff9073 Рік тому

    than kyou

  • @bugbytes3923
    @bugbytes3923  7 місяців тому +1

    Playlist link: ua-cam.com/video/EsBqIZmR2Uc/v-deo.html

  • @Smartroid
    @Smartroid 8 місяців тому

    Please teach signals

  • @fredrickgardner1369
    @fredrickgardner1369 Рік тому

    Promo'SM