Skip to content

nathanwalsh/django-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Boilerplate for Django 1.4

A barebones default layout for organised Django development. Inspired from Martin Ogden's Django Boilerplate (link below).

Usage

This assumes you have pip and django installed (if not, try $ sudo easy_install pip)

$ django-admin.py startproject --template http://github.com/nathanwalsh/django-boilerplate/zipball/master project_name
$ cd project_name
$ pip install -r requirements.txt
$ python manage.py syncdb --migrate
$ cd config; ln -s environments/settings_production.py settings.py

Settings

Django settings are configured in config/common.py and any settings added in config/local.py will be picked up and override any previously defined settings. This is useful for sensitive information such as database credentials or the SECRET_KEY etc. By default this file will NOT be checked into git.

Preinstalled Apps

Credits

Much of the layout is taken from Martin Ogden's Django Boilerplate project which took much of the layout from a great post by Zachary Voase.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages