Python Django Inheritance Optimisation Exercise

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

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

  • @ucalefendiyev2790
    @ucalefendiyev2790 9 місяців тому +1

    this is amazing

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

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

    too good explanations

  • @SuperFreakyMad
    @SuperFreakyMad 3 роки тому +2

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

  • @1ManStartup
    @1ManStartup Рік тому

    Super helpful, thanks for making this!

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

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

    Wow bro thanks you so much

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

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

    Thanks again

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

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

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

    Good one 👍

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

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

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

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

  • @bringinglife2
    @bringinglife2 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.

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