GeneratedField in Django 5 - New Django Model Field!

  Рет қаралды 4,865

BugBytes

BugBytes

Күн бұрын

Пікірлер: 47
@bugbytes3923
@bugbytes3923 8 ай бұрын
Django ORM Playlist: kzbin.info/www/bejne/e6SlonyQordli8U
@trosgate
@trosgate 8 ай бұрын
The quality of your content knows no bound. We appreciate you Sir
@helixaros
@helixaros 8 ай бұрын
100% the default channel for Django videos
@bugbytes3923
@bugbytes3923 7 ай бұрын
Thanks a lot - really appreciate it!
@erchenstein
@erchenstein 8 ай бұрын
Just wanted to say thanks for your videos, they really helped me in a project im working on recently. Really solid! Already got an idea how to apply that to model.
@bugbytes3923
@bugbytes3923 7 ай бұрын
Glad to hear that, thanks a lot for sharing and for the support!
@priyanshvatsal9791
@priyanshvatsal9791 5 ай бұрын
Precious content. Loved the playlist
@bugbytes3923
@bugbytes3923 5 ай бұрын
Thanks a lot, glad to hear that!
@CloudeTech
@CloudeTech 8 ай бұрын
I thank you so much. After watching your django tutorial, I decided to make my final year project.
@bugbytes3923
@bugbytes3923 7 ай бұрын
Thank you - good luck with it!
@JakobKobberholm
@JakobKobberholm 8 ай бұрын
Thank you for this. I use Django regularly and hadn't noticed this new field. Just a tip, `sqlmigrate` doesn't require the full migration name, the number is sufficient. In your case, `sqlmigrate core 0014`would do it. And since you are in the terminal anyway, it might be easier to get the migration name with the command `showmigrations core`instead of looking up the migrations file to copy+paste.
@Yarkanlaki
@Yarkanlaki 8 ай бұрын
This is very useful. No money property and annotation needed
@bugbytes3923
@bugbytes3923 7 ай бұрын
Thanks!
@kushalpy
@kushalpy 8 ай бұрын
Best content❤❤
@bugbytes3923
@bugbytes3923 7 ай бұрын
Thanks!
@fidelischukwunyere3142
@fidelischukwunyere3142 8 ай бұрын
Great job👍
@bugbytes3923
@bugbytes3923 7 ай бұрын
Thanks!
@kimuyu
@kimuyu 8 ай бұрын
@property functions and save() method override will have their uses, but many common uses will be usurped by GeneratedField(). Thanks again for an excellent video. Well explained.
@bugbytes3923
@bugbytes3923 7 ай бұрын
Thanks a lot for the comment, totally agree!
@repotranstech
@repotranstech 8 ай бұрын
Cool video as always.
@bugbytes3923
@bugbytes3923 7 ай бұрын
Thanks a lot!
@sudeepadhikari4513
@sudeepadhikari4513 5 ай бұрын
Thankyou. Please also explain geodjango.
@Peterstavrou
@Peterstavrou 7 ай бұрын
Very handy! Thanks!
@bugbytes3923
@bugbytes3923 6 ай бұрын
Thanks a lot Peter!
@ranggatohjaya
@ranggatohjaya 6 ай бұрын
Thanks for sharing
@bugbytes3923
@bugbytes3923 6 ай бұрын
Thanks for watching!
@aminzahedsadeghi4995
@aminzahedsadeghi4995 8 ай бұрын
Awesome ! Please create a video about multi database in Django, it's a rare concept in Django.
@bugbytes3923
@bugbytes3923 7 ай бұрын
Thank you! Good idea, will try and prepare this soon!
@AbdulhameedAlhofufy
@AbdulhameedAlhofufy 3 ай бұрын
I really like your accent❤️
@bugbytes3923
@bugbytes3923 3 ай бұрын
Haha thanks a lot!
@serychristianrenaud
@serychristianrenaud 8 ай бұрын
Thanks.
@bugbytes3923
@bugbytes3923 7 ай бұрын
Thanks for watching!
@leamon9024
@leamon9024 2 ай бұрын
Awesome! Thanks for sharing. Could you also make videos about asynchronous ORM and view in django?
@bugbytes3923
@bugbytes3923 2 ай бұрын
Thanks! I'd like to do some videos on that, for sure - hopefully soon.
@mustafadundarcelebi1974
@mustafadundarcelebi1974 7 ай бұрын
It was very helpful tutorial series Keep it up. I wanted to ask what extensions for VS Code have installed. if it is possible if you would let us know. Best regards Celebi
@bonemanx1
@bonemanx1 7 ай бұрын
Is it a good idea to delegate this to the database? Every app I've worked on the DB is the bottleneck. Is it not better to leave the DB to write and save only and have all of the functions and logic executed by the application?
@bugbytes3923
@bugbytes3923 7 ай бұрын
I think the bottleneck would typically be in table joins, lack of indexes, etc. Just delegating a calculation alone (especially if it's stored) shouldn't affect performance too much (I don't think). The database itself may process a set of calculations more efficiently than pulling the data out and doing it in Python, too. There may be other observations and scenarios where this doesn't apply though.
@alvarofigueroa4693
@alvarofigueroa4693 Ай бұрын
@@bugbytes3923 I would add that this is one of the reasons database engines have stored procedures and views built in, so they can calculate these very easily, and probably faster than doing it on code. Great video btw…cheers
@aashayamballi
@aashayamballi 8 ай бұрын
thank you!!
@bugbytes3923
@bugbytes3923 7 ай бұрын
Thanks a lot!
@haykdavtyan5734
@haykdavtyan5734 7 ай бұрын
When generating a fixture, we need to specify the generated field as well ? Seems like when trying to load a fixture without this field fails
@bugbytes3923
@bugbytes3923 7 ай бұрын
That's a good question - I'm not sure, but I would not have thought you'd need to specify that. But if someone knows the answer, drop it here!
@ahmedaz6917
@ahmedaz6917 7 ай бұрын
how fix low req I install Django and postgresql on aapanel server 4 CPU rum 8 but when test max Request number: 100 Return number: 23 QPS: 7 Traffic: 848KB per second
@kushalpy
@kushalpy 7 ай бұрын
Hello Big brother love you content. Please upload more on FastAPI
@bugbytes3923
@bugbytes3923 7 ай бұрын
Thanks a lot! Will do, soon.
@frameff9073
@frameff9073 8 ай бұрын
good thnak
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 28 МЛН
Django - F Expressions for database-level operations
20:36
BugBytes
Рет қаралды 5 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 108 М.
Django & HTMX App - Charts with Plotly!
32:54
BugBytes
Рет қаралды 4,3 М.
Django Content Types framework / ContentType model
15:07
BugBytes
Рет қаралды 5 М.
Gitlab DELETING Production Databases | Prime Reacts
17:27
ThePrimeTime
Рет қаралды 356 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,6 МЛН