summaryrefslogtreecommitdiff
path: root/docs/django-admin.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-11-28 02:57:38 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-11-28 02:57:38 +0000
commite85b071e47a8b25d47d7dfbb3b006030a1d09d87 (patch)
tree8cc51dd6c16ed835b44643f0ce0035d5e90a466b /docs/django-admin.txt
parent5de6fe1b2d5afb0a210f3aa52fd21ad3e4f8a8f8 (diff)
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
Diffstat (limited to 'docs/django-admin.txt')
-rw-r--r--docs/django-admin.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/django-admin.txt b/docs/django-admin.txt
index a7a15f2a2e..a8dff6defa 100644
--- a/docs/django-admin.txt
+++ b/docs/django-admin.txt
@@ -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
----