Ticket #5614: 5614-docs.patch
| File 5614-docs.patch, 1.2 kB (added by programmerq, 6 months ago) |
|---|
-
a/docs/authentication.txt
old new 264 264 265 265 ``manage.py syncdb`` prompts you to create a superuser the first time you run 266 266 it after adding ``'django.contrib.auth'`` to your ``INSTALLED_APPS``. But if 267 you need to create a superuser after that via the command line, you can use the 268 ``create_superuser.py`` utility. Just run this command:: 267 you need to create a superuser after that via the command line, you can use 268 ``manage.py createsuperuser`` **New in Django development version.**:: 269 270 manage.py createsuperuser --username=joe --email=joe@example.com 271 272 You will be prompted for a password. Once entered, the user is created. If you 273 leave off the ``--usermane`` or the ``--email`` option, It will prompt you for 274 those values as well. 275 276 The old way of creating a superuser on the command line is still available:: 269 277 270 278 python /path/to/django/contrib/auth/create_superuser.py 271 279 272 Make sure to substitute ``/path/to/`` with the path to the Django codebase on 273 your filesystem. 280 Where ``/path/to`` is the path to the Django codebase on your filesestem. 274 281 275 282 Storing additional information about users 276 283 ------------------------------------------
