Parameter |
Choices/Defaults |
Comments |
app_path
required |
|
The path to the root of the Django application where manage.py lives.
|
apps
|
|
A list of space-delimited apps to target. Used by the 'test' command.
|
cache_table
|
|
The name of the table used for database-backed caching. Used by the 'createcachetable' command.
|
clear
bool |
|
Clear the existing files before trying to copy or link the original file.
Used only with the 'collectstatic' command. The --noinput argument will be added automatically.
|
command
required |
Choices:
- cleanup
- collectstatic
- flush
- loaddata
- migrate
- runfcgi
- syncdb
- test
- validate
|
The name of the Django management command to run. Built in commands are cleanup, collectstatic, flush, loaddata, migrate, runfcgi, syncdb, test, and validate.
Other commands can be entered, but will fail if they're unknown to Django. Other commands that may prompt for user input should be run with the --noinput flag.
|
database
|
|
The database to target. Used by the 'createcachetable', 'flush', 'loaddata', and 'syncdb' commands.
|
failfast
bool |
|
Fail the command immediately if a test fails. Used by the 'test' command.
|
fixtures
|
|
A space-delimited list of fixture file names to load in the database. Required by the 'loaddata' command.
|
link
(added in 1.3) |
|
Will create links to the files instead of copying them, you can only use this parameter with 'collectstatic' command
|
merge
(added in 1.3) |
|
Will run out-of-order or missing migrations as they are not rollback migrations, you can only use this parameter with 'migrate' command
|
pythonpath
|
|
A directory to add to the Python path. Typically used to include the settings module if it is located external to the application directory.
|
settings
|
|
The Python path to the application's settings module, such as 'myapp.settings'.
|
skip
(added in 1.3) |
|
Will skip over out-of-order missing migrations, you can only use this parameter with migrate
|
virtualenv
|
|
An optional path to a virtualenv installation to use while running the manage application.
aliases: virtualenv
|