Database Table Relationship in Django Models, One To One, Many To One and Many to Many

  Рет қаралды 27,160

Dipak Niroula

Dipak Niroula

Күн бұрын

Пікірлер
@moneeshkumar1838
@moneeshkumar1838 3 жыл бұрын
I watched many videos, can't understand the concept Finally watched your video, got the clear understating Great explanation man. Thanks
@davidandai_w412
@davidandai_w412 2 жыл бұрын
This is absolutely amazing to understanding the concept of Database Relationship in Django.
@balamuruganloganathan7039
@balamuruganloganathan7039 2 жыл бұрын
Very clear explanation. Beginner can also easily understand the django model relationship. Thank you Dipak bro.
@surajadhikari7766
@surajadhikari7766 4 жыл бұрын
Perfect explanation to understand relations in django.
@gunjanp8576
@gunjanp8576 10 ай бұрын
Sir i want to show table on my home page and in tabel there are columns like person name, addresss, city, intrest,etc. So how can i fetch all data in view and pass through context to template. Please help. In your tutorial you fetch data on the basis of id , i want that all the data without id.
@sangitniroula
@sangitniroula 10 ай бұрын
I recommend watching my tutorial on making ecommerce using django. Here is the link to this kzbin.info/www/bejne/f6uTaqOVd515f5I&ab_channel=DipakNiroula. You can find lots of ways of fetching data from database and presenting them in the UI there.
@tarfiain
@tarfiain Жыл бұрын
Hey sir good evening......thank uh for your amazing video it clarifies my 3-4 doubts ....plz keep posting videos like this process only....thanks alottt sir.......and before living let me inform uh......your voice is Masha Allah ......may Allah accept your all hala dua's.....ameen.....stay concentrated and succeed sir...thank uh
@jayantkeer3416
@jayantkeer3416 2 жыл бұрын
This is very nice video
@obulareddyguda567
@obulareddyguda567 2 жыл бұрын
Best video for django model relationship. Thanks bro ❤👌
@JaeBlaze07
@JaeBlaze07 7 ай бұрын
You explained this so well, very helpful! 🙌
@sushmagowda6015
@sushmagowda6015 Жыл бұрын
This something I was hunting for! thanks a lot
@mohit8299
@mohit8299 9 ай бұрын
superr videoo
@VijayKumar-dq3ph
@VijayKumar-dq3ph 2 жыл бұрын
Hi , do you have video explaining foreign key relations among tables of different databases or can you give any hint on how to achieve that?
@sangitniroula
@sangitniroula 2 жыл бұрын
docs.djangoproject.com/en/4.0/topics/db/multi-db/#limitations-of-multiple-databases
@sangitniroula
@sangitniroula 2 жыл бұрын
But you can make it possible by writing your custom module/orm according to the requirement.
@ApnaVlogs-tj7do
@ApnaVlogs-tj7do 4 ай бұрын
You are champ bro , thanks
@hari3658
@hari3658 Жыл бұрын
can you tell me how to display these multiple interest of a person on HTML using context and jinja .
@ajaykryadav
@ajaykryadav Жыл бұрын
👍👍 good
@aravindkumar9427
@aravindkumar9427 3 жыл бұрын
Can you please tell how to handle the following query in django model select column1 , column 2 , column3 from tabel_x where column4 = 'rowvalue'
@irynafriaf5762
@irynafriaf5762 Жыл бұрын
Thank you so much for this video. Helped a lot! ❤
@giteshraval8576
@giteshraval8576 3 жыл бұрын
the best video ever,,, please post a video to authenticate user via email
@shahidullah233
@shahidullah233 3 жыл бұрын
Best video to understand the relationship....i am having some problem in my project ....in the admin page some dropdown field show object(1)....not the name...i still cant figure it out what is the problem
@sangitniroula
@sangitniroula 3 жыл бұрын
make str method in your model and return string that you want. eg. def __str__(self): return self.title
@shahidullah233
@shahidullah233 3 жыл бұрын
@@sangitniroula i did...like yours models.py....i have 5 models class....in which last 2 class are connected to other 3 class....every str method works fine even i can see strings in the dashboard. Problem is....like your personadress class you inherited person name and city...like wise i also had inherited name from one class and city from another class...both are onetoone relation...now when i go to add person address to add new...i found name shows names but city shows cityobject(1).... I hope you can now understand....hope to get some solution
@PrAsHaNtHdUke1093
@PrAsHaNtHdUke1093 3 жыл бұрын
thanks a lot bro...i have understand this concept...thanks for uploading this video..upload more videos bro
@teqteps5786
@teqteps5786 3 жыл бұрын
Thanks Brother! it's great.
@pradipathawale8285
@pradipathawale8285 2 жыл бұрын
Tell how to insert data from front end into many to many field
@aravindkumar9427
@aravindkumar9427 3 жыл бұрын
Can u explain select_related and prefetch_related bro
@Heart_zzz6
@Heart_zzz6 3 жыл бұрын
Thanks bro👍
@AmitRajpurohit
@AmitRajpurohit Жыл бұрын
Thanks 👏
@aravindkumar9427
@aravindkumar9427 3 жыл бұрын
Now only got something idea in models
@vonputtkamer1673
@vonputtkamer1673 3 жыл бұрын
please for the source code link sir
@cricketisourpassion6956
@cricketisourpassion6956 2 жыл бұрын
thanks you sir this is amazing please send source code.
Model Relationship and One to One Relationship in Django (Hindi)
56:10
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Understanding Django Model Relationships
25:56
Pretty Printed
Рет қаралды 95 М.
AJAX get and post request with Django and Axios Library, Step by Step
45:13
Learn Django - Build an Asynchronous Chatroom with Django and Channels
1:31:27
Django Rest Framework | Serializers & CRUD
22:40
Dennis Ivy
Рет қаралды 393 М.
This Minion Prince Army is TAKING OVER Clash of Clans
15:23
Aky16 Gaming
Рет қаралды 3,3 М.