Module create_superuser
source code
Helper function for creating superusers in the authentication
system.
If run from the command line, this module lets you create a superuser
interactively.
|
|
createsuperuser(username=None,
email=None,
password=None)
Helper function for creating a superuser from the command line. |
source code
|
|
Imports:
validators,
User,
getpass,
os,
sys
createsuperuser(username=None,
email=None,
password=None)
| source code
|
Helper function for creating a superuser from the command line. All
arguments are optional and will be prompted-for if invalid or not
given.
|