Notes

Custom Django Project Template

Posted by Dan on Sunday the 13th of July, 2014

I have created a base Django project template to enable rapidly starting Django projects, it uses some basic features that I use frequently.

This base template includes:

  • Fabric deployment scripts
  • Bootstrap static files with less.js
  • Base templates
  • Nginx, Gunicorn and Supervisor templates for deployment
  • Multiple settings per environment

Usage

To create a project with this template:

Make a virtual environment activate it and install Django.

Start the project

1
django-admin.py startproject --template=https://github.com/dantium/django-project-template/archive/master.zip myproject 

Options

1
2
--git_path=https://github.com/user/project
--domain_name=myproject.com 

Posted in: Django