The idea behind this project is to fork this repo when you are starting a new Django app, then go to town customizing it. It will include normal base Wilcox Development Solutions tools for creating Django apps.

Booting Up The Project

$ paver paver.virtual.bootstrap
$ python
# (coffee time now, it'll take a minute...)

$ source virtual-env/bin/activate
$ startproject YOUR PROJECT

This will also install a paver wrapper over You can delete this or use this, whatever.

Now configure your django project for all the apps that came in, by:

$ `paver update_paver_with_git_support`   # updates your paver to one that has (rudimentary) git support
$ paver setup_project YOURPROJECT

What this gives you after you setup_project (and things to configure)

  1. Set up your database information in `
  2. Set up templates/base.html with your general site layout


Pull this setups and supporting framework out so others can use it. (wd_django_bootstrap is very much considered a test bed for a reusable framework)

Because ultimately I'd like to hook it up to my Turbogears work too

TODOs for that

Rethink how tasks are registered. Feels like too much boilerplate going on to create a simple task.


If you get odd errors like:

$ python          
New python executable in venv/bin/python
ERROR: The executable venv/bin/python is not functioning
ERROR: It thinks sys.prefix is '/System/Library/Frameworks/Python.framework/Versions/2.6' (should be '/Users/aias/Development/HgBased/wd_django_bootstrap/venv')
ERROR: virtualenv is not compatible with this system or executable

Please do two things:

  1. Make sure you're running the latest virtualenv (1.5.1, of this writting)
  2. If you're using a non system Python as your standard Python (which python to check) Forcefully use the System supplied one.

    Instead of python use /usr/bin/python2.6