Table Of Contents

Previous topic

3.10. webdav – WebDAV support

Next topic

5. Files

This Page

Languages

Previous versions

1.2
1.1

4. Commands

Most of the available commands must be run from the main directory where the file manage.py is located.

This script accepts a command followed by mandatory and optional arguments.

Usage: ./manage.py subcommand [options] [args]

The following options are always available:

-v VERBOSITY, --verbosity=VERBOSITY

Verbosity level; 0=minimal output, 1=normal output, 2=all output

--traceback

Print traceback on exception. Useful for debugging purpose.

--settings=SETTINGS

The Python path to a settings module, e.g. “myproject.settings.main”. If this isn’t provided, the DJANGO_SETTINGS_MODULE environment variable will be used.

--pythonpath=PYTHONPATH

A directory to add to the Python path, e.g. “/home/djangoprojects/myproject”.

--version

show Django’s version number

-h, --help

show an help message and exit