Wednesday, March 30, 2016

Model share question

I'm new to django and have a question regarding model design.
For practice, I'm working on a web app - a simplified version of imdb that handles movie and music.
I've created 2 apps; Movies and Music. With main models in both having the usual fields (title, release date, rating, artist/actor).
My problem is, I don't know where to put the Person model. I want it to be shared by both apps.
Should there be an app for Person and put the model in there?
Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d28d97f6-37c6-4ef5-89d3-96d538e86b2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment