From e85b071e47a8b25d47d7dfbb3b006030a1d09d87 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 28 Nov 2005 02:57:38 +0000 Subject: 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 --- docs/django-admin.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') 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 ---- -- cgit v1.3