Рет қаралды 28,604
In this video, I'm gonna be explaining about one to many relationship in Django and many to one relationship in Django. At first, we will show you pictorial whiteboard representation of what exactly is Django one to many relationship and Django many to one relationship. We will then make a practical example of creating two models and connecting or making a relationship between them using Django Model ForeignKey ( foreign key ) field. We will discuss about fetching related model data and also the inverse relationships. We will show you how to override the default reverse model manager from model_set to any name. We will show you how to access related model data using field lookups in django. This is the second video of Django relationships playlist where we will be discussing about many to one relationship in django, one to many relationship in django, many to one relationship in django, many to many relationship in django, foreign key in django and much more content.
Subscribe | Code Band
Full Playlist : Django Relationships | Explained with Example by Code Band : • Django Relationships |...
Other videos in Code Band:
Django Authentication | The easiest and actual way of doing it : • Django Authentication ...
Custom Model Manager & Model QuerySet in Django : • Custom Model Manager &...
Render Django Form Manually : Make Custom Form with Form Validations - • Render Django Form Man...
Generic Class Based Views in Django | Introduction & Create View in Django | Learn by Example | CRUD : • Generic Class Based Vi...
How to Deploy Django Project on Heroku for Free : • How to Deploy Django P...
Connect Django with MySQL : • How to Connect Django ...
Instagram Automation using Python : • Instagram Automation u...
Top 5 Programming Languages to Learn in 2020 : • Top 5 Programming Lang...
:) You Can Find Me On:
My Website - jasim.tech/
Linkedin - / akjasim
Github - github.com/akjasim/
Facebook - / jasimakjasim
Twitter - / akjasim
Instagram - / jasim_ak