You would just have one App loyalty program. You will extend UserProfile from User and the other models would be Restaurant (name,branch location etc would be the attributes). Your structure would depend on what are the various functionalities you would like to add.
On Monday, October 24, 2016 at 1:15:21 PM UTC+5:30, Deep Shah wrote: > > I have a django project which is a loyalty program for restaurants. The > different database tables are- Users (and extending it with User Profiles), > Restaurant Company (the entire chain), Branches, Offers, Points (points > which users get on visiting a particular restaurant) etc. > > How do I structure my project? Which of these would be my apps, and which > model would come under which app? > -- 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+unsubscr...@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/01c1ed5a-0d29-43c8-9b2f-b13f90c8f392%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.