Skip to content

Instantly share code, notes, and snippets.

@kenchangh
Created August 11, 2014 04:03
Show Gist options
  • Select an option

  • Save kenchangh/e08731582ae922523b9a to your computer and use it in GitHub Desktop.

Select an option

Save kenchangh/e08731582ae922523b9a to your computer and use it in GitHub Desktop.
Organizing big projects in Django
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