{
"name": "django-admin",
"description": "Utility script for the Django Web framework",
"subcommands": [
{
"name": "help",
"description": "Usage and help information for django-admin",
"args": [
{
"name": "subcommand",
"suggestions": [
"changepassword",
"createsuperuser",
"remove_stale_contenttypes",
"check",
"compilemessages",
"createcachetable",
"dbshell",
"diffsettings",
"dumpdata",
"flush",
"inspectdb",
"loaddata",
"makemessages",
"makemigrations",
"migrate",
"sendtestemail",
"shell",
"showmigrations",
"sqlflush",
"sqlmigrate",
"sqlsequencereset",
"squashmigrations",
"startapp",
"startproject",
"test",
"testserver",
"test_mail",
"clearsessions",
"collectstatic",
"findstatic",
"runserver"
]
}
]
},
{
"name": "changepassword",
"description": "Change a user's password for django.contrib.auth",
"options": [
{
"names": [
"--database"
],
"description": "Specifies the database to use. Default is \"default\"",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "username",
"description": "Username to change password for; by default, it's the current username"
}
]
},
{
"name": "createsuperuser",
"description": "Used to create a superuser",
"options": [
{
"names": [
"--username"
],
"description": "Specifies the login for the superuser",
"takes_arg": true,
"arg": {
"name": "USERNAME"
}
},
{
"names": [
"--noinput",
"--no-input"
],
"description": "Tells Django to NOT prompt the user for input of any kind"
},
{
"names": [
"--database"
],
"description": "Specifies the database to use. Default is \"default\"",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"--email"
],
"description": "Specifies the email for the superuser",
"takes_arg": true,
"arg": {
"name": "EMAIL"
}
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "remove_stale_contenttypes",
"options": [
{
"names": [
"--noinput",
"--no-input"
],
"description": "Tells Django to NOT prompt the user for input of any kind"
},
{
"names": [
"--database"
],
"description": "Nominates the database to use. Defaults to the \"default\" database",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"--include-stale-apps"
],
"description": "Deletes stale content types including ones from previously installed apps that have been removed from INSTALLED_APPS"
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "check",
"description": "Checks the entire Django project for potential problems",
"options": [
{
"names": [
"--tag",
"-t"
],
"description": "Run only checks labeled with given tag",
"takes_arg": true,
"arg": {
"name": "TAGS"
}
},
{
"names": [
"--list-tags"
],
"description": "List available tags"
},
{
"names": [
"--deploy"
],
"description": "Check deployment settings"
},
{
"names": [
"--fail-level"
],
"description": "Message level that will cause the command to exit with a non-zero status. Default is ERROR",
"takes_arg": true,
"arg": {
"name": "{CRITICAL,ERROR,WARNING,INFO,DEBUG}",
"suggestions": [
"CRITICAL",
"ERROR",
"WARNING",
"INFO",
"DEBUG"
]
}
},
{
"names": [
"--database"
],
"description": "Run database related checks against these aliases",
"takes_arg": true,
"arg": {
"name": "DATABASES"
}
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "app_label",
"is_variadic": true
}
]
},
{
"name": "compilemessages",
"description": "Compiles .po files to .mo files for use with builtin gettext support",
"options": [
{
"names": [
"--locale",
"-l"
],
"description": "Locale(s) to process (e.g. de_AT). Default is to process all. Can be used multiple times",
"takes_arg": true,
"arg": {
"name": "LOCALE"
}
},
{
"names": [
"--exclude",
"-x"
],
"description": "Locales to exclude. Default is none. Can be used multiple times",
"takes_arg": true,
"arg": {
"name": "EXCLUDE"
}
},
{
"names": [
"--use-fuzzy",
"-f"
],
"description": "Use fuzzy translations"
},
{
"names": [
"--ignore",
"-i"
],
"description": "Ignore directories matching this glob-style pattern. Use multiple times to ignore more",
"takes_arg": true,
"arg": {
"name": "PATTERN"
}
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "createcachetable",
"description": "Creates the tables needed to use the SQL cache backend",
"options": [
{
"names": [
"--database"
],
"description": "Nominates a database onto which the cache tables will be installed. Defaults to the \"default\" database",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"--dry-run"
],
"description": "Does not create the table, just prints the SQL that would be run"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "table_name",
"description": "Optional table names. Otherwise, settings.CACHES is used to find cache tables",
"is_variadic": true
}
]
},
{
"name": "dbshell",
"description": "Runs the command-line client for specified database, or the default database",
"options": [
{
"names": [
"--database"
],
"description": "Nominates a database onto which to open a shell",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "diffsettings",
"description": "Displays differences between the current settings.py and Django's default settings",
"options": [
{
"names": [
"--all"
],
"description": "Display all settings, regardless of their value. In \"hash\" mode, default values are prefixed by \"###\""
},
{
"names": [
"--default"
],
"description": "The settings module to compare the current settings against. Leave empty to compare against Django's default settings",
"takes_arg": true,
"arg": {
"name": "MODULE"
}
},
{
"names": [
"--output"
],
"description": "Selects the output format. 'hash' mode displays each changed setting, with the settings that don't appear in the defaults followed by ###. 'unified' mode prefixes the default setting with a minus sign",
"takes_arg": true,
"arg": {
"name": "{hash,unified}",
"suggestions": [
"hash",
"unified"
]
}
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "dumpdata",
"description": "Output the contents of the database as a fixture of the given format (using each model's default manager unless --all is specified)",
"options": [
{
"names": [
"--format"
],
"description": "Specifies the output serialization format for fixtures",
"takes_arg": true,
"arg": {
"name": "FORMAT"
}
},
{
"names": [
"--indent"
],
"description": "Specifies the indent level to use when pretty-printing output",
"takes_arg": true,
"arg": {
"name": "INDENT"
}
},
{
"names": [
"--database"
],
"description": "Nominates a specific database to dump fixtures from. Defaults to the \"default\" database",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"-e",
"--exclude"
],
"description": "An app_label or app_label.ModelName to exclude (use multiple --exclude to exclude multiple apps/models)",
"takes_arg": true,
"arg": {
"name": "EXCLUDE"
}
},
{
"names": [
"--natural-foreign"
],
"description": "Use natural foreign keys if they are available"
},
{
"names": [
"--natural-primary"
],
"description": "Use natural primary keys if they are available"
},
{
"names": [
"-a",
"--all"
],
"description": "Use Django's base manager to dump all models stored in the database, including those that would otherwise be filtered or modified by a custom manager"
},
{
"names": [
"--pks"
],
"description": "Only dump objects with given primary keys. Accepts a comma-separated list of keys. This option only works when you specify one model",
"takes_arg": true,
"arg": {
"name": "PRIMARY_KEYS"
}
},
{
"names": [
"-o",
"--output"
],
"description": "Specifies file to which the output is written",
"takes_arg": true,
"arg": {
"name": "OUTPUT"
}
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "app_label",
"description": "Restricts dumped data to the specified app_label or app_label.ModelName",
"is_variadic": true
}
]
},
{
"name": "flush",
"description": "Removes ALL DATA from the database, including data added during migrations",
"options": [
{
"names": [
"--noinput",
"--no-input"
],
"description": "Tells Django to NOT prompt the user for input of any kind"
},
{
"names": [
"--database"
],
"description": "Nominates a database to flush. Defaults to the \"default\" database",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "inspectdb",
"description": "Introspects the database tables in the given database and outputs a Django",
"options": [
{
"names": [
"--database"
],
"description": "Nominates a database to introspect. Defaults to using the \"default\" database",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"--include-partitions"
],
"description": "Also output models for partition tables"
},
{
"names": [
"--include-views"
],
"description": "Also output models for database views"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "table",
"description": "Selects what tables or views should be introspected",
"is_variadic": true
}
]
},
{
"name": "loaddata",
"description": "Installs the named fixture(s) in the database",
"options": [
{
"names": [
"--database"
],
"description": "Nominates a specific database to load fixtures into. Defaults to the \"default\" database",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"--app"
],
"description": "Only look for fixtures in the specified app",
"takes_arg": true,
"arg": {
"name": "APP_LABEL"
}
},
{
"names": [
"--ignorenonexistent",
"-i"
],
"description": "Ignores entries in the serialized data for fields that do not currently exist on the model"
},
{
"names": [
"-e",
"--exclude"
],
"description": "An app_label or app_label.ModelName to exclude. Can be used multiple times",
"takes_arg": true,
"arg": {
"name": "EXCLUDE"
}
},
{
"names": [
"--format"
],
"description": "Format of serialized data when reading from stdin",
"takes_arg": true,
"arg": {
"name": "FORMAT"
}
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "fixture",
"description": "Fixture labels",
"is_variadic": true
}
]
},
{
"name": "makemessages",
"description": "Runs over the entire source tree of the current directory and pulls out all strings marked for translation. It creates (or updates) a message file in the conf/locale (in the django tree) or locale (fo",
"options": [
{
"names": [
"--locale",
"-l"
],
"description": "Creates or updates the message files for the given locale(s) (e.g. pt_BR). Can be used multiple times",
"takes_arg": true,
"arg": {
"name": "LOCALE"
}
},
{
"names": [
"--exclude",
"-x"
],
"description": "Locales to exclude. Default is none. Can be used multiple times",
"takes_arg": true,
"arg": {
"name": "EXCLUDE"
}
},
{
"names": [
"--domain",
"-d"
],
"description": "The domain of the message files (default: \"django\")",
"takes_arg": true,
"arg": {
"name": "DOMAIN"
}
},
{
"names": [
"--all",
"-a"
],
"description": "Updates the message files for all existing locales"
},
{
"names": [
"--extension",
"-e"
],
"description": "The file extension(s) to examine (default: \"html,txt,py\", or \"js\" if the domain is \"djangojs\"). Separate multiple extensions with commas, or use -e multiple times",
"takes_arg": true,
"arg": {
"name": "EXTENSIONS"
}
},
{
"names": [
"--symlinks",
"-s"
],
"description": "Follows symlinks to directories when examining source code and templates for translation strings"
},
{
"names": [
"--ignore",
"-i"
],
"description": "Ignore files or directories matching this glob-style pattern. Use multiple times to ignore more",
"takes_arg": true,
"arg": {
"name": "PATTERN"
}
},
{
"names": [
"--no-default-ignore"
],
"description": "Don't ignore the common glob-style patterns 'CVS', '.*', '*~' and '*.pyc'"
},
{
"names": [
"--no-wrap"
],
"description": "Don't break long message lines into several lines"
},
{
"names": [
"--no-location"
],
"description": "Don't write '#: filename:line' lines"
},
{
"names": [
"--add-location"
],
"description": "[{full,file,never}] Controls '#: filename:line' lines. If the option is 'full' (the default if not given), the lines include both file name and line number. If it's 'file', the line number is omitted.",
"takes_arg": true,
"arg": {
"name": "location",
"suggestions": [
"full",
"file",
"never"
]
}
},
{
"names": [
"--no-obsolete"
],
"description": "Remove obsolete message strings"
},
{
"names": [
"--keep-pot"
],
"description": "Keep .pot file after making messages. Useful when debugging"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "makemigrations",
"description": "Creates new migration(s) for apps",
"options": [
{
"names": [
"--dry-run"
],
"description": "Just show what migrations would be made; don't actually write them"
},
{
"names": [
"--merge"
],
"description": "Enable fixing of migration conflicts"
},
{
"names": [
"--empty"
],
"description": "Create an empty migration"
},
{
"names": [
"--noinput",
"--no-input"
],
"description": "Tells Django to NOT prompt the user for input of any kind"
},
{
"names": [
"-n",
"--name"
],
"description": "Use this name for migration file(s)",
"takes_arg": true,
"arg": {
"name": "NAME"
}
},
{
"names": [
"--no-header"
],
"description": "Do not add header comments to new migration file(s)"
},
{
"names": [
"--check"
],
"description": "Exit with a non-zero status if model changes are missing migrations"
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "app_label",
"description": "Specify the app label(s) to create migrations for",
"is_variadic": true
}
]
},
{
"name": "migrate",
"description": "Updates database schema. Manages both apps with migrations and those without",
"options": [
{
"names": [
"--noinput",
"--no-input"
],
"description": "Tells Django to NOT prompt the user for input of any kind"
},
{
"names": [
"--database"
],
"description": "Nominates a database to synchronize. Defaults to the \"default\" database",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"--fake"
],
"description": "Mark migrations as run without actually running them"
},
{
"names": [
"--fake-initial"
],
"description": "Detect if tables already exist and fake-apply initial migrations if so. Make sure that the current database schema matches your initial migration before using this flag. Django will only check for an "
},
{
"names": [
"--plan"
],
"description": "Shows a list of the migration actions that will be performed"
},
{
"names": [
"--run-syncdb"
],
"description": "Creates tables for apps without migrations"
},
{
"names": [
"--check"
],
"description": "Exits with a non-zero status if unapplied migrations exist"
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "app_label",
"description": "App label of an application to synchronize the state"
},
{
"name": "migration_name",
"description": "Database state will be brought to the state after that migration. Use the name \"zero\" to unapply all migrations"
}
]
},
{
"name": "sendtestemail",
"description": "Sends a test email to the email addresses specified as arguments",
"options": [
{
"names": [
"--managers"
],
"description": "Send a test email to the addresses specified in settings.MANAGERS"
},
{
"names": [
"--admins"
],
"description": "Send a test email to the addresses specified in settings.ADMINS"
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "email",
"description": "One or more email addresses to send a test email to",
"is_variadic": true
}
]
},
{
"name": "shell",
"description": "Runs a Python interactive interpreter. Tries to use IPython or bpython, if one of them is available. Any standard input is executed as code",
"options": [
{
"names": [
"--no-startup"
],
"description": "When using plain Python, ignore the PYTHONSTARTUP environment variable and ~/.pythonrc.py script"
},
{
"names": [
"-i",
"--interface"
],
"description": "Specify an interactive interpreter interface. Available options: \"ipython\", \"bpython\", and \"python\"",
"takes_arg": true,
"arg": {
"name": "{ipython,bpython,python}",
"suggestions": [
"ipython",
"bpython",
"python"
]
}
},
{
"names": [
"-c",
"--command"
],
"description": "Instead of opening an interactive shell, run a command as Django and exit",
"takes_arg": true,
"arg": {
"name": "COMMAND"
}
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "showmigrations",
"description": "Shows all available migrations for the current project",
"options": [
{
"names": [
"--database"
],
"description": "Nominates a database to synchronize. Defaults to the \"default\" database",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"--list",
"-l"
],
"description": "Shows a list of all migrations and which are applied. With a verbosity level of 2 or above, the applied datetimes will be included"
},
{
"names": [
"--plan",
"-p"
],
"description": "Shows all migrations in the order they will be applied. With a verbosity level of 2 or above all direct migration dependencies and reverse dependencies (run_before) will be included"
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "app_label",
"description": "App labels of applications to limit the output to",
"is_variadic": true
}
]
},
{
"name": "sqlflush",
"description": "Returns a list of the SQL statements required to return all tables in the database to the state they were in just after they were installed",
"options": [
{
"names": [
"--database"
],
"description": "Nominates a database to print the SQL for. Defaults to the \"default\" database",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "sqlmigrate",
"description": "Prints the SQL statements for the named migration",
"options": [
{
"names": [
"--database"
],
"description": "Nominates a database to create SQL for. Defaults to the \"default\" database",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"--backwards"
],
"description": "Creates SQL to unapply the migration, rather than to apply it"
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "app_label",
"description": "App label of the application containing the migration"
},
{
"name": "migration_name",
"description": "Migration name to print the SQL for"
}
]
},
{
"name": "sqlsequencereset",
"description": "Prints the SQL statements for resetting sequences for the given app name(s)",
"options": [
{
"names": [
"--database"
],
"description": "Nominates a database to print the SQL for. Defaults to the \"default\" database",
"takes_arg": true,
"arg": {
"name": "DATABASE"
}
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "app_label",
"description": "One or more application label",
"is_variadic": true
}
]
},
{
"name": "squashmigrations",
"description": "Squashes an existing set of migrations (from first until specified) into a single new one",
"options": [
{
"names": [
"--no-optimize"
],
"description": "Do not try to optimize the squashed operations"
},
{
"names": [
"--noinput",
"--no-input"
],
"description": "Tells Django to NOT prompt the user for input of any kind"
},
{
"names": [
"--squashed-name"
],
"description": "Sets the name of the new squashed migration",
"takes_arg": true,
"arg": {
"name": "SQUASHED_NAME"
}
},
{
"names": [
"--no-header"
],
"description": "Do not add a header comment to the new squashed migration"
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "app_label",
"description": "App label of the application to squash migrations for"
},
{
"name": "start_migration_name",
"description": "Migrations will be squashed starting from and including this migration"
},
{
"name": "migration_name",
"description": "Migrations will be squashed until and including this migration"
}
]
},
{
"name": "startapp",
"description": "Creates a Django app directory structure for the given app name in the current directory or optionally in the given directory",
"options": [
{
"names": [
"--template"
],
"description": "The path or URL to load the template from",
"takes_arg": true,
"arg": {
"name": "TEMPLATE"
}
},
{
"names": [
"--extension",
"-e"
],
"description": "The file extension(s) to render (default: \"py\"). Separate multiple extensions with commas, or use -e multiple times",
"takes_arg": true,
"arg": {
"name": "EXTENSIONS"
}
},
{
"names": [
"--name",
"-n"
],
"description": "The file name(s) to render. Separate multiple file names with commas, or use -n multiple times",
"takes_arg": true,
"arg": {
"name": "FILES"
}
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "name",
"description": "Name of the application or project"
},
{
"name": "directory",
"description": "Optional destination directory"
}
]
},
{
"name": "startproject",
"description": "Creates a Django project directory structure for the given project name in the current directory or optionally in the given directory",
"options": [
{
"names": [
"--template"
],
"description": "The path or URL to load the template from",
"takes_arg": true,
"arg": {
"name": "TEMPLATE"
}
},
{
"names": [
"--extension",
"-e"
],
"description": "The file extension(s) to render (default: \"py\"). Separate multiple extensions with commas, or use -e multiple times",
"takes_arg": true,
"arg": {
"name": "EXTENSIONS"
}
},
{
"names": [
"--name",
"-n"
],
"description": "The file name(s) to render. Separate multiple file names with commas, or use -n multiple times",
"takes_arg": true,
"arg": {
"name": "FILES"
}
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "name",
"description": "Name of the application or project"
},
{
"name": "directory",
"description": "Optional destination directory"
}
]
},
{
"name": "test",
"description": "Discover and run tests in the specified modules or the current directory",
"options": [
{
"names": [
"--noinput",
"--no-input"
],
"description": "Tells Django to NOT prompt the user for input of any kind"
},
{
"names": [
"--failfast"
],
"description": "Tells Django to stop running the test suite after first failed test"
},
{
"names": [
"--testrunner"
],
"description": "Tells Django to use specified test runner class instead of the one specified by the TEST_RUNNER setting",
"takes_arg": true,
"arg": {
"name": "TESTRUNNER"
}
},
{
"names": [
"-t",
"--top-level-directory"
],
"description": "Top level of project for unittest discovery",
"takes_arg": true,
"arg": {
"name": "TOP_LEVEL",
"template": "folders"
}
},
{
"names": [
"-p",
"--pattern"
],
"description": "The test matching pattern. Defaults to test*.py",
"takes_arg": true,
"arg": {
"name": "PATTERN"
}
},
{
"names": [
"--keepdb"
],
"description": "Preserves the test DB between runs"
},
{
"names": [
"-r",
"--reverse"
],
"description": "Reverses test cases order"
},
{
"names": [
"--debug-mode"
],
"description": "Sets settings.DEBUG to True"
},
{
"names": [
"-d",
"--debug-sql"
],
"description": "Prints logged SQL queries on failure"
},
{
"names": [
"--parallel"
],
"description": "Run tests using up to N parallel processes",
"takes_arg": true,
"arg": {
"name": "[N]"
}
},
{
"names": [
"--tag"
],
"description": "Run only tests with the specified tag. Can be used multiple times",
"takes_arg": true,
"arg": {
"name": "TAGS"
}
},
{
"names": [
"--exclude-tag"
],
"description": "Do not run tests with the specified tag. Can be used multiple times",
"takes_arg": true,
"arg": {
"name": "EXCLUDE_TAGS"
}
},
{
"names": [
"--pdb"
],
"description": "Runs a debugger (pdb, or ipdb if installed) on error or failure"
},
{
"names": [
"-b",
"--buffer"
],
"description": "Discard output from passing tests"
},
{
"names": [
"-k"
],
"description": "Only run test methods and classes that match the pattern or substring. Can be used multiple times. Same as unittest -k option",
"takes_arg": true,
"arg": {
"name": "TEST_NAME_PATTERNS"
}
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "test_label",
"description": "Module paths to test; can be modulename, modulename.TestCase or modulename.TestCase.test_method"
}
]
},
{
"name": "testserver",
"description": "Runs a development server with data from the given fixture(s)",
"options": [
{
"names": [
"--noinput",
"--no-input"
],
"description": "Tells Django to NOT prompt the user for input of any kind"
},
{
"names": [
"--addrport"
],
"description": "Port number or ipaddr:port to run the server on",
"takes_arg": true,
"arg": {
"name": "ADDRPORT"
}
},
{
"names": [
"--ipv6",
"-6"
],
"description": "Tells Django to use an IPv6 address"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "fixture",
"description": "Path(s) to fixtures to load before running the server"
}
]
},
{
"name": "test_mail",
"options": [
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "clearsessions",
"description": "Can be run as a cronjob or directly to clean out expired sessions (only with the database backend at the moment)",
"options": [
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "collectstatic",
"description": "Collect static files in a single location",
"options": [
{
"names": [
"--noinput",
"--no-input"
],
"description": "Do NOT prompt the user for input of any kind"
},
{
"names": [
"--no-post-process"
],
"description": "Do NOT post process collected files"
},
{
"names": [
"-i",
"--ignore"
],
"description": "Ignore files or directories matching this glob-style pattern. Use multiple times to ignore more",
"takes_arg": true,
"arg": {
"name": "PATTERN"
}
},
{
"names": [
"-n",
"--dry-run"
],
"description": "Do everything except modify the filesystem"
},
{
"names": [
"-c",
"--clear"
],
"description": "Clear the existing files using the storage before trying to copy or link the original file"
},
{
"names": [
"-l",
"--link"
],
"description": "Create a symbolic link to each file instead of copying"
},
{
"names": [
"--no-default-ignore"
],
"description": "Don't ignore the common private glob-style patterns (defaults to 'CVS', '.*' and '*~')"
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
]
},
{
"name": "findstatic",
"description": "Finds the absolute paths for the given static file(s)",
"options": [
{
"names": [
"--first"
],
"description": "Only return the first match for each static file"
},
{
"names": [
"--skip-checks"
],
"description": "Skip system checks"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "staticfile",
"is_variadic": true
}
]
},
{
"name": "runserver",
"description": "Starts a lightweight Web server for development and also serves static files",
"options": [
{
"names": [
"--ipv6",
"-6"
],
"description": "Tells Django to use an IPv6 address"
},
{
"names": [
"--nothreading"
],
"description": "Tells Django to NOT use threading"
},
{
"names": [
"--noreload"
],
"description": "Tells Django to NOT use the auto-reloader"
},
{
"names": [
"--nostatic"
],
"description": "Tells Django to NOT automatically serve static files at STATIC_URL"
},
{
"names": [
"--insecure"
],
"description": "Allows serving static files even if DEBUG is False"
},
{
"names": [
"-h",
"--help"
],
"description": "Show this help message and exit"
},
{
"names": [
"--version"
],
"description": "Show program's version number and exit"
},
{
"names": [
"-v",
"--verbosity"
],
"description": "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output",
"takes_arg": true,
"arg": {
"name": "{0,1,2,3}",
"suggestions": [
"0",
"1",
"2",
"3"
]
}
},
{
"names": [
"--settings"
],
"description": "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",
"takes_arg": true,
"arg": {
"name": "SETTINGS"
}
},
{
"names": [
"--pythonpath"
],
"description": "A directory to add to the Python path, e.g. \"/home/djangoprojects/myproject\"",
"takes_arg": true,
"arg": {
"name": "PYTHONPATH",
"template": "folders"
}
},
{
"names": [
"--traceback"
],
"description": "Raise on CommandError exceptions"
},
{
"names": [
"--no-color"
],
"description": "Don't colorize the command output"
},
{
"names": [
"--force-color"
],
"description": "Force colorization of the command output"
}
],
"args": [
{
"name": "addrport",
"description": "Optional port number, or ipaddr:port"
}
]
}
]
}