1. Bite a Byte
  2. Untitled project
  3. django-project-template

Overview

HTTPS SSH

{% comment %}

Django Project Template

This template provides sane defaults for new Django projects based on established best practices. To use django-project-template run the following command:

django-admin.py startproject --template=https://bitbucket.org/biteabyte/django-project-template/get/master.zip --extension=py,md PROJECT_NAME

Note: Django version 1.4 or greater is required.

Features

By default, this template includes:

A set of basic templates built from HTML5 Boilerplate 4.0.1 and Twitter Bootstrap 2.2.1.

Compressing JS and CSS:

Migrations:

References

This template adopts some ideas from the following projects:

The text following this comment block will become the README.md of the new project.


{% endcomment %}

{{ project_name|title }} Project

About

Describe your project here.

Prerequisites

  • Python >= 2.7

Installation

To bootstrap the project:

cd path/to/{{ project_name }}
install system-wide dependencies from requirements-system.txt
$ python bootstrap.py
$ . env/bin/activate
$ cp {{ project_name }}/settings/local.py.template {{project_name }}/settings/local.py
adjust your local settings, such as database adapter in settings/local.py
$ python manage.py syncdb
$ python manage.py runserver