Django template project

Using django-template-project you will minimize bunch of routine tasks required for every new project:

  • create directory structure
  • make an order in your project and apps settings
  • develop web skeleton (styles + html templates)

Project came from our Django development experience. We are using it, so, maybe it will be useful for you.

This is what you will get after cloning and launching:

Any ideas, improvements or critics are very welcome!



  1. Separated settings per each application, see settings/apps package
  2. Deployment and local settings profiles

Bundled Main application

  1. Basic main application with standard structure (templates, migrations, fixtures, etc);
  2. Standard Django 1.3 static files directories (css, img, js);


  1. Basic layout templates, including content, header, footer, and menu. You can extend from layout/base.html;
  2. Support for meta tags, title, css and javascript extensions, when extending from base.html;
  3. 404 and 500 templates;


  1. CSS reset;
  2. Basic layout styles;
  3. Rich content styles;


  1. Enabled jQuery (we've made it as ext django app);

Static files:

  1. We use Django 1.3 static files, as its a rocket feature!
  2. Configured static and media roots

Utility scripts (win):

  1. I18n & localization (make and compile messages);
  2. Dump, load, init DB;
  3. South migrations;


See requirements.txt in root folder:

  • Django 1.3
  • South


  1. Clone it;
  2. Disconnect from Mercurial;
  3. Make syncdb (it will create SQLite database in source/db);
  4. Run;
  5. Extend it;

Change log


  • Update folder structure
  • Update .hgignore
  • Fix links in menu


  • web app renamed to main
  • rollback to settings via imports
  • django 1.3 static files support
  • jquery as ext app (static)
  • basic html templates (common case: header, content, footer)
  • basic css styles
  • 404 & 500 templates


Made by WebRiders