Optimize Your Django queries with select related, prefetch related and Django Debug Toolbar 👨🏻‍💻

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024

ความคิดเห็น • 27

  • @Pyplane
    @Pyplane  ปีที่แล้ว +7

    Hi Guys 1) hope you enjoyed the video, I did my best to explain these concepts but the renovation 3 floors below didn't help. Sorry if you hear some noises in the background (did my best to mute them). 2) The 4th part of the django and React native tutorial will be published next week 3) Have a lovely weekend 😉

  • @tshiamomotshabi9862
    @tshiamomotshabi9862 ปีที่แล้ว +2

    This is very insightful and helpful, I wasn't aware of all the background queries being made without optimizing them. We need more optimization videos for Django.

    • @Pyplane
      @Pyplane  ปีที่แล้ว

      Thanks, there are more techniques for optimization. I’ll try to prepare some interesting material for the near future 🙌

  • @gillesashley9314
    @gillesashley9314 8 หลายเดือนก่อน

    How did TH-cam know I was searching for this kind of video? I remember I wrote a comment somewhere that I need a video like this, just a day after I see this video? Wow.

  • @funnyvideotitk7349
    @funnyvideotitk7349 ปีที่แล้ว

    Thank you for this amazing video. This is really helpful for me. I am watching your video last 2 years.

    • @Pyplane
      @Pyplane  ปีที่แล้ว

      Thanks for being here for so long 🙌 glad you like my content ✨ 💪

  • @yogeshyts
    @yogeshyts ปีที่แล้ว +1

    best explaination ever on this topic

    • @Pyplane
      @Pyplane  ปีที่แล้ว

      Thank you! 🙌✨

  • @rangabharath4253
    @rangabharath4253 ปีที่แล้ว

    Awesome as always and useful. Thanks 🙂

    • @Pyplane
      @Pyplane  ปีที่แล้ว +2

      Thanks Ranga! Glad you liked it 🙌✨

  • @ronniemiller8172
    @ronniemiller8172 10 หลายเดือนก่อน

    very helpful

  • @aslamnaturalfarming2128
    @aslamnaturalfarming2128 ปีที่แล้ว

    Much appreciated your effort..

    • @Pyplane
      @Pyplane  ปีที่แล้ว +1

      Thanks ! 🙌✨

  • @pablo20237
    @pablo20237 ปีที่แล้ว

    Very excellent, thank you

    • @Pyplane
      @Pyplane  ปีที่แล้ว

      Thanks for watching! Glad you liked it ✨

  • @damianrutkowski1161
    @damianrutkowski1161 ปีที่แล้ว

    Awesome

  • @reza-vn2dz
    @reza-vn2dz ปีที่แล้ว

    Nice

    • @Pyplane
      @Pyplane  ปีที่แล้ว

      Thank you! 🙌✨

  • @devmrnecro4215
    @devmrnecro4215 ปีที่แล้ว

    any difference in speed when looping an object in views and doing it in frontend jinja temp concept?

  • @mohammedthiandoum2543
    @mohammedthiandoum2543 ปีที่แล้ว

    Thanks, hope the renovation is finished now 😂

  • @anishghimire1534
    @anishghimire1534 ปีที่แล้ว

    make tutorial on payement with stripe on subscription basis

  • @mitchymagic
    @mitchymagic ปีที่แล้ว

    After print(posts.values()) I dont see the post.author.name values in the output? How is this being obtained in a single query?

    • @Pyplane
      @Pyplane  ปีที่แล้ว

      With values you don’t return a querysets of objects but dictionaries

    • @mitchymagic
      @mitchymagic ปีที่แล้ว

      @@Pyplane Understood, but shouldn't the author name be in there ?

    • @Pyplane
      @Pyplane  ปีที่แล้ว

      @@mitchymagic No, why would it be there? Instead of the name you have the author_id. If you want the author.name to be there don't use values()

  • @frameff9073
    @frameff9073 ปีที่แล้ว

    thank you

    • @Pyplane
      @Pyplane  ปีที่แล้ว

      Thanks for watching! 🙌✨