Created
August 11, 2014 04:03
-
-
Save kenchangh/e08731582ae922523b9a to your computer and use it in GitHub Desktop.
Organizing big projects in Django
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Organizing in Django | |
| ------------------ | |
| This is just an example of a project setup. See [this link](http://zacharyvoase.com/2010/02/03/django-project-conventions/). | |
| ``` | |
| PROJECT_ROOT/ | |
| |-- app/ # Site-specific Django apps | |
| |-- etc/ # A symlink to an `etcs/` sub-directory | |
| |-- etcs/ # Assorted plain-text configuration files | |
| |-- libs/ # Site-specific Python libs | |
| |-- static/ # Static site media (images, stylesheets, JavaScript) | |
| |-- settings/ # Settings directory | |
| |-- templates/ # Site-wide Django templates | |
| |-- .gitignore # VCS ignore file (can be .gitignore, .cvsignore, etc) | |
| |-- README.md # Instructions/assistance for other developers/admins | |
| |-- REQUIREMENTS # pip dependencies file | |
| |-- __init__.py # Makes the project root a Python package | |
| `-- urls.py # Root URLconf | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment