Python Django Inheritance Optimisation Exercise

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

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

  • @rahulsaha2859
    @rahulsaha2859 3 ปีที่แล้ว +5

    I found this amazing channel when I was feeling low with Django and now am happy.Thanks please continue this series and also manage your playlists cause its hard to follow through them .
    Please also teach us about DRF

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

      Thanks Rahul, yeah - they are a bit of a mess that is for sure.

  • @ucalefendiyev2790
    @ucalefendiyev2790 7 หลายเดือนก่อน +1

    this is amazing

  • @AcademyOmen
    @AcademyOmen 3 ปีที่แล้ว +9

    Amazing 🔥✅
    This is the only channel with such videos on django👏

    • @veryacademy
      @veryacademy  3 ปีที่แล้ว +3

      It won’t stop, at some point I will refine all of this into a coherent course 👍

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

    Haven't started watching yet but thanks in advance :-)

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

    Just joined your channel based on this tutorial. I've been learning Django from mostly your channel. Would love to see more in depth applications of model inheritance, database optimization, etc. Currently following your django ecommerce course.

    • @veryacademy
      @veryacademy  3 ปีที่แล้ว

      Thanks Julien, noted. It is a popular request, particularly the optimization. We will get there, these types of tutorials - in my opinion need a better base to start from, this is what the ecommerce project will provide eventually.

    • @julienboudreau8419
      @julienboudreau8419 3 ปีที่แล้ว

      @@veryacademy Thanks that sounds great. Your tutorials are the only ones that get in depth with real world examples and look at some of the deeper django features, so I've been learning lots. I'm following your ecommerce project now looking forward to completing. On the side, I'm building my own app with lessons learned. I can see the ecommerce being an actual course.
      Keep it up love all the content.

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

    Thanks for the content.
    It would be great if you would create video covering all model meta options like indexes, unique_together, etc.

    • @veryacademy
      @veryacademy  3 ปีที่แล้ว

      Noted - that is a good idea - maybe not next week but the week after 👍

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

    too good explanations

  • @CoCo-yz6jh
    @CoCo-yz6jh 3 ปีที่แล้ว +1

    You are super cool sir thank you so much...may you soon get millions subscribers that you deserve 😊 you making my life so much easy for learning django and I don’t have to pay for these awesome tutorials!

    • @veryacademy
      @veryacademy  3 ปีที่แล้ว

      Thank you so much 😀

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

    Can you do a video on advanced user authentication worthy of production plz

    • @veryacademy
      @veryacademy  3 ปีที่แล้ว

      If or when the community grows I will continue providing more advanced and in depth tutorials.

  • @bellosegun
    @bellosegun 3 ปีที่แล้ว

    I prefer the multi-table Inheritance... Looks simpler and more readable..

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

    Thanks for this awesome video!! Could you tell me about the toolbar you were using starting 15:27 min ?

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

      Django-debug-toolbar I made a video about it yesterday 👍

    • @LavYash
      @LavYash 3 ปีที่แล้ว

      @@veryacademy Thank you!

  • @createlifejr
    @createlifejr 3 ปีที่แล้ว

    Hello, I have a doubt, which is more efficient between the two, products= Product.objects.all(), products_ = products.filter(something=something) or Product.objects.filter(something=something) while quering? like in terms of the number of queries in db. Thanks :)

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

      I get the sentiment of your question. Both queries need to run through the whole table to find the data - so it would take in terms of time - probably be the same. Also the amount of queries should be the same.

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

    Wow bro thanks you so much

  • @ThukuWakogi
    @ThukuWakogi 3 ปีที่แล้ว

    Hi
    Would a json field work in this scenario?
    And what are the benefits and disadvantages

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

      Hi Tim, yes you could use something like a JSONB in Postgres. Maybe it’s better to think about Tradeoffs initially, for example could you easily get Django admin to save multiple inputs to a JSONB? Once you have suitably indexed, cached and otherwise optimised - unless you are running big datasets it probably just bakes down to - do you want to go that extra effort to learning how to work with this data in your chosen db - assuming we are talking about Postgres / MySQL. You will see lots of info online, negative and positive, always take with a pinch of salt.

  • @bellosegun
    @bellosegun 3 ปีที่แล้ว

    I have learn better ways of doing things in django from you... I have had this concern on my ecommerce project... Thanks a lot.. I appreciate this... Would be nice if this is added to the ecommerce series..

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

      Thanks Bello - this is the next step in the project - we will add this and more to our tables. Then we can go ahead and add features 👍

    • @bellosegun
      @bellosegun 3 ปีที่แล้ว

      @@veryacademy wow that'd be great

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

    Thanks again

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

    Good one 👍

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

    👏🏽👏🏽👏🏽

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

      Its the Aashay seal of approval 3 claps 😁👍 Thank you.

    • @aashayamballi
      @aashayamballi 3 ปีที่แล้ว

      @@veryacademy you're awesome!

  • @1ManStartup
    @1ManStartup ปีที่แล้ว

    Super helpful, thanks for making this!