[TriPython] Django question
Luis Valencia
livalencia at my.waketech.edu
Fri Aug 11 13:35:55 EDT 2017
Hello all!
I have a Django question as I'm trying to build a simple website for practice. I'm trying to build a site that has a forum. I went ahead and created the forum app ($ python manage.py startapp polls) which I then proceeded to install. So far so good, I read a stackoverflow answer that said " Typically you separate Apps based on common function. User accounts get their own app (see Auth below). Blog postings get another. A Google Maps interface will get another. User subscriptions, another." This gave me a clearer understanding of how to structure my projects and the apps within.
My question is should I create another app for the main contents of the site? The main contents for my particular site being the landing page, the about page, contact page, etc,.
On another note I am quite by how quickly and relatively easy is to build an app with Django. When I started to learn web development I used Flask and the road was a bit rough.
All the best,
Luis
-------------- next part --------------
Hello all!
I have a Django question as I'm trying to build a simple website for
practice. I'm trying to build a site that has a forum. I went ahead and
created the forum app ($ python manage.py startapp polls) which I then
proceeded to install. So far so good, I read a stackoverflow answer that
said " Typically you separate Apps based on common function. User accounts
get their own app (see Auth below). Blog postings get another. A Google
Maps interface will get another. User subscriptions, another." This gave
me a clearer understanding of how to structure my projects and the apps
within.
My question is should I create another app for the main contents of the
site? The main contents for my particular site being the landing page, the
about page, contact page, etc,.
On another note I am quite by how quickly and relatively easy is to build
an app with Django. When I started to learn web development I used Flask
and the road was a bit rough.
All the best,
Luis
More information about the TriZPUG
mailing list