Hello friends,
I am a beginner on Mezzanine and Django, and I am very confused about where
is the "right" place to put static and templates files on the folder
structure of a mezzanine project.
Doing this:
cd \sites
mezzanine-project mysite
I got the following folder structure:
C:\SITES
\---mysite
| .gitignore
| .hgignore
| fabfile.py
| manage.py
| requirements.txt
| __init__.py
|
+---deploy
| ...
|
\---mysite
local_settings.py
settings.py
urls.py
wsgi.py
__init__.py
Should I:
- Create "static" and "templates" on the project root (C:\sites\mysite) ?
- Create a "theme" folder on the project root, and put static and
template inside ?
- Create a "theme" folder on the project root, and put static, template,
and __init__.py inside, and call it an "app" ?
- Do something else?
Being a beginner I hope you understand I need to know the right or
canonical way of organizing static and templates.
Many sources on the web are sometimes contradictory on this subject, and
the Mezzanine docs are not clear enough (to me) about this.
Thank you,
Marcio
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.