A Simple Many-To-Many Example in Django

preview_player
Показать описание

DJ 04 Many 02 Many
Рекомендации по теме
Комментарии
Автор

thanks, Chuck, you save my life, with this explanation

elhalmihamza
Автор

Well explained. This video deserves more views

FahmiEshaq
Автор

Thank you Chuck, your explanations are very detailed and comprehensive.

williamfash
Автор

Excelent! After a long time searching, I found the solution to a problem that I had in my approach to many to many.

timoteopolak
Автор

You are the one I was looking for. thx, I am your fan now!

influensor
Автор

Dude that was clearly explained, I mean, content is great!!! i really appreciate your work and feel free with droppin' your pen, if you managed to take it back, thats okay😅😅😅. All in all thanks for comprehensive video

abdusamadabdullakhanov
Автор

There are instances where certain property changes to a field do not get noticed by makemigrations. The easiest solution, since I didn't yet have anything in the database, was to comment it out, migrate, comment it in with the new setting and migrate. Stack overflow had some solutions to write a script by hand (which were not relevant to me just learning).

seantilson
Автор

Well that's an important detail in Django Models, according to the documentationm, no Joint Table is required, only consider the ManyToManyField model type (that saves code and logic but is not standard I think). In pure SQL (Database First approach) the Joint table is definitively required, I think.

sdscode
Автор

thank you so much, very clear and short

ghilesdjebara
Автор

When I add Author in ManyToManyField it gives me name error name Author is not defined.
Any solutions for that?

mkrtichhovhannisyan
Автор

I run this code with manyToMany and without manyToMany
And the result was the same
And i was able to see the result by django-exentions
Django-exentions can generate graph models base on your models code

dace
Автор

Django docs says we should put the ManyToManyField in one of our models only, but I wasn't able to find out why

thales-maciel
Автор

I think you have the 0..* explanation wrong, I'd like to be corrected if I'm wrong, but the 0..* means that a GENRE can exist without a BOOK, not that a BOOK can exist without a GENRE.

TheChronichalt
Автор

Can I email you a complex modeling question?

malikbrahimi
join shbcf.ru