Answer the question
In order to leave comments, you need to log in
Django one model for several applications?
Let's take the theoretical site "VKontakte". It has applications: "user page", "groups", "albums".
There are several applications and they all use the same model to get your avatar and name from the database. But django has its own models for each application. How to do it right in the end?
-One large VKontakte application, with pages: "user page", "groups", "albums"
-Creation of a separate application with models, and from it "pull" models for other applications
-Your option?
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