paved.django

paved.django – common tasks for django projects.

paved.django.manage(args)

Run the provided commands against Django’s manage.py

options.paved.django.settings: the dotted path to the django
project module containing settings.
options.paved.django.manage_py: the path where the django
project’s manage.py resides.
paved.django.call_manage(cmd, capture=False, ignore_error=False)[source]

Utility function to run commands against Django’s django-admin.py/manage.py.

options.paved.django.project: the path to the django project
files (where settings.py typically resides). Will fall back to a DJANGO_SETTINGS_MODULE environment variable.
options.paved.django.manage_py: the path where the django
project’s manage.py resides.
paved.django.djtest(args)

Run tests. Shorthand for paver manage test.

paved.django.syncdb(args)

Update the database with model schema. Shorthand for paver manage syncdb.

paved.django.shell(info)

Run the ipython shell. Shorthand for paver manage shell.

Uses django_extensions <http://pypi.python.org/pypi/django-extensions/0.5>, if available, to provide shell_plus.

paved.django.start(info)

Run the dev server.

Uses django_extensions <http://pypi.python.org/pypi/django-extensions/0.5>, if available, to provide runserver_plus.

Set the command to use with options.paved.django.runserver Set the port to use with options.paved.django.runserver_port