1. Michael Richardson
  2. django_template


-*- restructuredtext -*-

Yet Another Django Template


This template assumes that you have setuptools installed.  It also assumes
that you're a PostgreSQL user and have psycopg2 installed.  It also makes a
ton of assumptions about how you want your projects laid out, what things
you want to use in your projects, etc.

This is just how I do it; it's almost assuredly not how you do it, and if it
doesn't work for you, don't be upset.  If you have some feedback though, feel
free to share.


You can put create_project.py anywhere you like - it will assume that the
project_template is in the same directory as it unless you pass in an argument
that explicitly states where the project_template is.

In other words:

    $ ./create_project.py some_test

will create, in your cwd, some_test/trunk/some_test.  This will require that
project_template is in the same directory as create_project.py.


    $ create_project.py some_test ~/django/

will create, again in your cwd, some_test/trunk/some_test, but use the
project_template directory that is located at ~/django/project_template.

The next step is to run the bootstrap file:

    $ python bootstrap.py

That will create your virtual environment and setup all the libraries
in pavement.py.

Next, you can run

    $ source bin/activate

to activate your virtualenv and take off from there.

Default packages

By default, this project uses `django-flash,
<http://github.com/danielfm/django-flash/tree/master>`_ `South,
<http://south.aeracode.org/>`_ and `django_satprep.

Happy coding.