summaryrefslogtreecommitdiff
path: root/docs/ref
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:49:32 +0200
commitd82cf95c5260eb690429f22055f7af9aa6ef2cb9 (patch)
tree5067e6cd40282b11a3eb57ca1ce1346569e99f58 /docs/ref
parentb4c80238a2b6c3f9fb7437d216082315c601055b (diff)
[1.7.x] Fixed #23062 -- Documented how to create superuser.
Patch by Tim Graham. Thanks areski for the review. Backport of 53a61d8 from master.
Diffstat (limited to 'docs/ref')
-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 442ddad14d..bfd6d791fd 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -686,6 +686,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