Commands¶
createuser¶
Used to create a user.
-
username¶
Login; required
-
-h,--help¶
show this help message and exit
-
--emailEMAIL¶
Email; required
-
--first_nameFIRST_NAME¶
First name; optional
-
--last_nameLAST_NAME¶
Last name; optional
-
--passwordPASSWORD¶
Password; optional
-
--is-staff¶
Staff status; optional, default is False
-
--is-superuser¶
Superuser status; optional, default is False
-
-gGROUPS,--groupsGROUPS¶
List of user’s groups; optional, comma is a separator
-
--databaseDATABASE¶
Specifies the database to use; optional, default is "default"
-
--version¶
show program’s version number and exit
-
-vLEVEL,--verbosityLEVEL¶
Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output
-
--settingsSETTINGS¶
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.
-
--pythonpathPYTHONPATH¶
A directory to add to the Python path, e.g.
"/home/djangoprojects/myproject".
-
--traceback¶
Raise on CommandError exceptions
-
--no-color¶
Don’t colorize the command output.
-
--force-color¶
Force colorization of the command output.