Generic Foreign Keys in Django / GenericForeignKey / GenericRelation
HTML-код
- Опубликовано: 26 дек 2024
- This video will look at generic foreign keys in Django, which allow you to hook up a model to any other model in your application.
We'll see how to define and query GenericForeignKey instances, and how to define GenericRelation fields on the reverse side of the relationship.
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
ko-fi.com/bugb...
▶️ Full Playlist:
• Django ORM Deep Dive
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: bugbytes.io/po...
👾 Github: github.com/bug...
🐦 Twitter: / bugbytesio
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Generic Inlines in Admin: docs.djangopro...
Permissions and Authorisation: docs.djangopro...
#python #django #webdevelopment #database #sql
ORM Playlist link: ruclips.net/video/EsBqIZmR2Uc/видео.html
Great content, please do a video on internals of permission as well. That would be great.
Thank you! This really cleared up my knowledge on this subject.
Thanks a lot, glad to hear that!
Nice! Looking forward to the permission related videos.
Great, please do a video about permissions and the possibilities to implement function-based permissions not only model-based
Great video. Thanks! Already passed half the way from 10K to 20k subscribers... Congratulations!
Thanks a lot, well noticed! Thanks for the support!
Great video as always! For one project I had all those null fields because i want to use comments for movies, tv series and lists etc. This is much much cleaner.
Thanks a lot!
Great continuation. Thanks very much.
Thanks!
If you wish to improve your Django understanding, subscribe to this channel. Thank you very much.
Thanks a lot !
do one on permissions and authorization too
thank you and more django video please
Thanks
Thanks for commenting!
Thank you
Thanks a lot!
well explained. though it is a little bit advanced for me :-)
Thanks! This concept of generic FKs/ContentTypes took a while to grasp for me, so no worries if it seems advanced.
❤ Thank
Thanks!
Thank you sir
Thanks for watching!
Great Content can you make video for permission system in django thanks :)
How can i create a hyperlinked related field for generic foreign key?
GenericForeignKey or django-polymorphic or InheritanceManager? what do you suggest?
love it.
Thanks a lot!
But you didn"t say anything about on_delete doesn't"t work so we need to use signals to delete the related models
cool
Thanks!
،😮😮😮😮😮😮😮😮 Thank u
Thanks a lot!
do one on permissions and authorization too