Django

Code

Changeset 7614

Show
Ignore:
Timestamp:
06/10/08 23:34:03 (5 months ago)
Author:
ubernostrum
Message:

Fixed #7397: corrected order of command names in docs/django-admin.txt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/django-admin.txt

    r7599 r7614  
    9494.. _cache documentation: ../cache/ 
    9595 
     96createsuperuser 
     97--------------- 
     98 
     99**New in Django development version** 
     100 
     101Creates a superuser account (a user who has all permissions). This is 
     102useful if you need to create an initial superuser account but did not 
     103do so during ``syncdb``, or if you need to programmatically generate 
     104superuser accounts for your site(s). 
     105 
     106When run interactively, this command will prompt for a password for 
     107the new superuser account; when run non-interactively, no password 
     108will be set and the superuser account will not be able to log in until 
     109a password has been manually set for it. 
     110 
     111The username and e-mail address for the new account can be supplied by 
     112using the ``--username`` and ``--email`` arguments on the command 
     113line; if not supplied, ``createsuperuser`` will prompt for them when 
     114running interactively. 
     115 
     116This command is only available if Django's `authentication system`_ 
     117(``django.contrib.auth``) is installed. 
     118 
     119.. _authentication system: ../authentication/ 
     120 
    96121dbshell 
    97122------- 
     
    109134the right place. There's no way to specify the location of the program 
    110135manually. 
    111  
    112 createsuperuser 
    113 --------------- 
    114  
    115 **New in Django development version** 
    116  
    117 Creates a superuser account (a user who has all permissions). This is 
    118 useful if you need to create an initial superuser account but did not 
    119 do so during ``syncdb``, or if you need to programmatically generate 
    120 superuser accounts for your site(s). 
    121  
    122 When run interactively, this command will prompt for a password for 
    123 the new superuser account; when run non-interactively, no password 
    124 will be set and the superuser account will not be able to log in until 
    125 a password has been manually set for it. 
    126  
    127 The username and e-mail address for the new account can be supplied by 
    128 using the ``--username`` and ``--email`` arguments on the command 
    129 line; if not supplied, ``createsuperuser`` will prompt for them when 
    130 running interactively. 
    131  
    132 This command is only available if Django's `authentication system`_ 
    133 (``django.contrib.auth``) is installed. 
    134  
    135 .. _authentication system: ../authentication/ 
    136136 
    137137diffsettings