steingrd / django-project-template
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
commit a1d404f72bfc5fd18fbb4dbc8f98e3bb0448a430
tree f05ccd88581c53e9784164a7d5604ee79c6fc7e6
parent 67bb4758bbecd1cb2fb4088f35d50cc2df824fb5
tree f05ccd88581c53e9784164a7d5604ee79c6fc7e6
parent 67bb4758bbecd1cb2fb4088f35d50cc2df824fb5
| name | age | message | |
|---|---|---|---|
| |
AUTHORS.txt | ||
| |
INSTALL.rst | ||
| |
MANIFEST.in | ||
| |
README.rst | ||
| |
scripts/ | ||
| |
setup.py | ||
| |
template/ |
README.rst
django-project-template
The project model created by the standard django-admin.py tool does not promote best practices.
The create_django_project.py script creates an alternate Django project structure with functional skeleton applications and templates. The main goal is to create a directory structure that promotes best practices such as standalone applications and easily deployable units.
Project structure
The project structure created by the script is a bit different than the standard Django project structure:
myproject/
environment.sh
manage.py
templates/
base.html
myapp/
index.html
scripts/
python/
myapp/
__init__.py
urls.py
views.py
forms.py
models.py
myproject/
__init__.py
urls.py
settings.py
media/
default.css

