A barebones default layout for organised Django development.
This assumes you have pip installed (if not, try $ sudo easy_install pip
)
$ git clone git://github.com/martinogden/django-boilerplate.git
$ pip install -r REQUIREMENTS
$ python manage.py syncdb --settings=settings.development
There is a separate file for each environment settings
(development, staging, production). These import the django default settings from settings.common and are intended to be used directly, e.g. python manage.py validate --settings=settings.production
or export PYTHONPATH=settings.development
.
- path.py: A module wrapper for os.path
- South: Intelligent database migrations
- django-grappelli: A jazzy skin for the Django admin interface.
- django-command-extensions: A a collection of custom extensions
- fabric: Application deployment and systems administration tasks.
- django-compressor: Compresses linked and inline javascript or CSS into a single cached file.
Much of the layout is taken from a great post by Zachary Voase.
- Scotty Vernon: django-compressor integration, included modernizr, boilerplate markup in base.html, and organised javascripts folder.
Licensed for use under BSD (same as Django).