How to Use Select Related and Prefetch Related in Django

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • Use both select_related and prefetch_related to increase the performance of querysets in Django.
    WORK WITH ME👇🏼
    ✅ Implement features and fix bugs in your app: Live, one-on-one screenshare
    prettyprinted....
    💻 Code written in video
    prettyprinted....

КОМЕНТАРІ • 25

  • @deepdive429
    @deepdive429 3 роки тому

    It been almost two years I'm following you.
    Every time you come with very important topic. And your way of explanation is amazing.
    Keep it up. God bless you.

  • @SsaliJonathan
    @SsaliJonathan 3 роки тому +1

    Another video. You are an inspiration man. Keep up the good work

  • @solomonmuketemeriki7136
    @solomonmuketemeriki7136 3 роки тому

    Great video... How do you find such great things that are both useful and not known to many people? You are a great teaher

  • @MarceloAgostonSchrotlin
    @MarceloAgostonSchrotlin 3 роки тому

    Antony you are one of the greatest things of the world!!! THANKS A LOT MATE!! :D

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

    Well explained! Thank you so much

  • @codedjango
    @codedjango 3 роки тому +4

    Nice...How do you optimize the django admin if I have to list "order.customer" or "order.products" queryset results on the admin page? Basically all I want to know is how to optimize Django admin when there are foreign key / many-to-many fields to be listed. Thanks a lot for your efforts

  • @mchgw
    @mchgw 2 роки тому

    Very well explained. Thank you.

  • @mohcench1903
    @mohcench1903 2 роки тому

    Well explained, Amazing video thanks!!

  • @alkeshace6158
    @alkeshace6158 3 роки тому

    Thanks for the info . Hope you get a fast pc soon

  • @Smoonwalkerm
    @Smoonwalkerm 3 роки тому +1

    Consider to upload videos about fastapi and deta.sh...it makes really fast the proccess of deployment

  • @tomnewton3191
    @tomnewton3191 2 роки тому

    Great video thank you.

  • @deekshantwadhwa
    @deekshantwadhwa 3 роки тому

    Great video... How do you find such great things that are both useful and not known to many people?

  • @rangabharath4253
    @rangabharath4253 3 роки тому

    Awesome as always 👍😊

  • @samucancld
    @samucancld 2 роки тому

    great content m8

  • @auroshisray9140
    @auroshisray9140 2 роки тому

    Thanks it helped a lot!

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

    how do we get that organized interface to view all of the above

  • @hemantholeti6478
    @hemantholeti6478 3 роки тому

    Please do a video on Django Single.page crud operations having add amd update forms in same html page with bootstrap theme table with records and an image in it
    using ajax jquery !!!

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

    Thank you 🙏

  • @dodokwak
    @dodokwak 3 роки тому

    Great.Thanks.

  • @tochimclaren
    @tochimclaren 3 роки тому

    Thanks!

  • @RellonLawrence
    @RellonLawrence 3 роки тому

    Hi, can anyone help me.
    In my admin to select the user takes long, and i realize that its because if the many fetches to get the permissions and groups for the user. I have a lot of models and growing. Can i use prefetch to get these? If so what do I prefetch? I have tried almost everything

  • @ТрощийАлександр

    How did you make 5000 duplicated entries

  • @titusfx
    @titusfx 2 роки тому

    Why select is not the default generation code?

  • @diksha5914
    @diksha5914 9 місяців тому

    can i work with you ? in some projects