mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #798 and #715 -- Added optional arguments to createsuperuser, for each use in shell scripts. Thanks for the patch, bjorn@exoweb.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -54,6 +54,12 @@ createsuperuser
|
||||
Creates a superuser account interactively. It asks you for a username, e-mail
|
||||
address and password.
|
||||
|
||||
**New in Django development version:** You can specify
|
||||
``username email password`` on the command line, for convenient use in shell
|
||||
scripts. Example::
|
||||
|
||||
django-admin.py createsuperuser john john@example.com mypassword
|
||||
|
||||
init
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user