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

Imports: validators, User, getpass, os, sys


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.