Answer the question
In order to leave comments, you need to log in
Django how to create a many to one relationship?
There are 3 models: Video, News and History
Is it possible to define a one-to-many relation in Video and News, which would allow one video or news to have many views (History), and one view to have only one video or news?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question