Python Django Inheritance Optimisation Exercise

  Рет қаралды 13,789

Very Academy

Very Academy

Күн бұрын

Пікірлер: 38
@rahulsaha2859
@rahulsaha2859 3 жыл бұрын
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 жыл бұрын
Thanks Rahul, yeah - they are a bit of a mess that is for sure.
@AcademyOmen
@AcademyOmen 3 жыл бұрын
Amazing 🔥✅ This is the only channel with such videos on django👏
@veryacademy
@veryacademy 3 жыл бұрын
It won’t stop, at some point I will refine all of this into a coherent course 👍
@julienboudreau8419
@julienboudreau8419 3 жыл бұрын
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.
@CoCo-yz6jh
@CoCo-yz6jh 3 жыл бұрын
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 😀
@ucalefendiyev2790
@ucalefendiyev2790 10 ай бұрын
this is amazing
@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 жыл бұрын
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
@SuperFreakyMad
@SuperFreakyMad 3 жыл бұрын
Haven't started watching yet but thanks in advance :-)
@veryacademy
@veryacademy 3 жыл бұрын
👍
@ajaykryadav
@ajaykryadav Жыл бұрын
too good explanations
@1ManStartup
@1ManStartup Жыл бұрын
Super helpful, thanks for making this!
@paborlouise319
@paborlouise319 3 жыл бұрын
Good one 👍
@veryacademy
@veryacademy 3 жыл бұрын
Thank you! Cheers!
@kopilagaire6651
@kopilagaire6651 3 жыл бұрын
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 жыл бұрын
Thanks again
@veryacademy
@veryacademy 3 жыл бұрын
Always welcome
@LavYash
@LavYash 3 жыл бұрын
Thanks for this awesome video!! Could you tell me about the toolbar you were using starting 15:27 min ?
@veryacademy
@veryacademy 3 жыл бұрын
Django-debug-toolbar I made a video about it yesterday 👍
@LavYash
@LavYash 3 жыл бұрын
@@veryacademy Thank you!
@samirThapaSRT
@samirThapaSRT 3 жыл бұрын
Wow bro thanks you so much
@veryacademy
@veryacademy 3 жыл бұрын
Any time
@bellosegun
@bellosegun 3 жыл бұрын
I prefer the multi-table Inheritance... Looks simpler and more readable..
@alkfalfnsflgjslfj2127
@alkfalfnsflgjslfj2127 3 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
👏🏽👏🏽👏🏽
@veryacademy
@veryacademy 3 жыл бұрын
Its the Aashay seal of approval 3 claps 😁👍 Thank you.
@aashayamballi
@aashayamballi 3 жыл бұрын
@@veryacademy you're awesome!
Django Multiple Database Setup Ex1
32:52
Very Academy
Рет қаралды 38 М.
Python Django Ecommerce Multi-Product Types Database Implementation
1:35:45
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Learn Django - Build a Custom User Model with Extended Fields
39:42
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 905 М.
Django Middleware
56:19
Very Academy
Рет қаралды 24 М.
Django Aggregation
19:13
Very Academy
Рет қаралды 18 М.
Intro to the Zig Programming Language • Andrew Kelley • GOTO 2022
50:14
Django Search
1:31:18
Very Academy
Рет қаралды 20 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 821 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН