Fixed #26156 -- Added createsuperuser instructions to admin docs.

This commit is contained in:
Yoong Kang Lim 2016-01-30 15:33:48 +11:00 committed by Tim Graham
parent be9bd3348d
commit 9644e2e968
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ For reference, here are the requirements:
7. Hook the ``AdminSite`` instance into your URLconf.
After you've taken these steps, you'll be able to use your Django admin site
by visiting the URL you hooked it into (``/admin/``, by default).
by visiting the URL you hooked it into (``/admin/``, by default). If you need
to create a user to login with, you can use the :djadmin:`createsuperuser`
command.
Other topics
------------