Package django :: Package contrib :: Package auth :: Module create_superuser
[hide private]
[frames] | no frames]

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.

Functions [hide private]
 
createsuperuser(username=None, email=None, password=None)
Helper function for creating a superuser from the command line.
source code
Variables [hide private]
  RE_VALID_USERNAME = re.compile('\w+$')
Function Details [hide private]

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.