summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@oscaro.com>2014-07-27 15:48:21 +0200
committerAymeric Augustin <aymeric.augustin@oscaro.com>2014-07-27 15:48:21 +0200
commit53a61d82b38b7c39fa8ec4bd3047014694e96f60 (patch)
tree6d3d4a277256c80b3049f6fdad9a1c33f0ff9cf0 /docs
parentc83583fb349cdbc4a7c31c1cc4cafcb02712e964 (diff)
Fixed #23062 -- Documented how to create superuser.
Patch by Tim Graham. Thanks areski for the review.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/django-admin.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 7d40347079..9a53627c28 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -696,6 +696,10 @@ The behavior of this command changes depending on the arguments provided:
unapplying migrations if you have previously migrated past the named
migration. Use the name ``zero`` to unapply all migrations for an app.
+Unlike ``syncdb``, this command does not prompt you to create a superuser if
+one doesn't exist (assuming you are using :mod:`django.contrib.auth`). Use
+:djadmin:`createsuperuser` to do that if you wish.
+
.. django-admin-option:: --fake
The ``--fake`` option tells Django to mark the migrations as having been