See this link: https://docs.djangoproject.com/en/1.10/intro/tutorial01/#creating-the-polls-app
The box "Projects vs app" can help you.
On 26 October 2016 at 04:35, Deep Shah <deepshah.91@gmail.com> 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+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/d44e29a8-7fdd-42f1-8c4a-646e75f2d148%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
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/CAFmXjSB-cGDVhOviD1wift6%2BuDt8aU%2B%3DcKCW7brfk8p63E6n_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment