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

Поділитися
Вставка
  • Опубліковано 11 вер 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 😉

  • @gillesashley9314
    @gillesashley9314 7 місяців тому

    How did UA-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.

  • @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 🙌

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

    best explaination ever on this topic

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

      Thank you! 🙌✨

  • @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 ✨ 💪

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

    very helpful

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

    Awesome as always and useful. Thanks 🙂

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

      Thanks Ranga! Glad you liked it 🙌✨

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

    Awesome

  • @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 ✨

  • @reza-vn2dz
    @reza-vn2dz Рік тому

    Nice

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

      Thank you! 🙌✨

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

    Thanks, hope the renovation is finished now 😂

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

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

  • @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! 🙌✨