Django Guidelines

Project skeletons

The recommended project skeleton to be used for django projects can be found in our django-skel2 repo.

Note

Requires django 1.4 for project creation.

The following commands will start a new project with some feature-rich settings in YOUR_PROJECT_NAME directory.

For normal django projects

To use it simply run the following command when starting a new project:

django-admin.py startproject --template https://github.com/pulilab/django-skel2/zipball/pulilab --extension py,md,ini YOUR_PROJECT_NAME

For appengine projects

To be developed.

Structure

Warning

Likely, as time goes by, some other programmers will have to read and understand your code. As a result, try to follow these guidelines as well as you can!

Testing

Deployment

Use fabric. There are pre-written fabric script in our project templates.

Project Versions

Table Of Contents

Previous topic

Style Guide

Next topic

Web Frontend Guidelines

This Page