Django

Code

Changeset 7593

Show
Ignore:
Timestamp:
06/08/08 02:23:05 (3 months ago)
Author:
ubernostrum
Message:

Add documentation for the creatsuperuser target (added in [7590]) to doc/django-admin.txt

Files:

Legend:

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

    r7294 r7593  
    8585 
    8686.. _Tutorial 2: ../tutorial02/ 
     87 
     88createsuperuser 
     89--------------- 
     90 
     91**New in Django development version** 
     92 
     93Creates a superuser account (a user who has all permissions). This is 
     94useful if you need to create an initial superuser account but did not 
     95do so during ``syncdb``, or if you need to programmatically generate 
     96superuser accounts for your site(s). 
     97 
     98When run interactively, this command will prompt for a password for 
     99the new superuser account; when run non-interactively, no password 
     100will be set and the superuser account will not be able to log in until 
     101a password has been manually set for it. 
     102 
     103The username and e-mail address for the new account can be supplied by 
     104using the ``--username`` and ``--email`` arguments on the command 
     105line; if not supplied, ``createsuperuser`` will prompt for them when 
     106running interactively. 
     107 
    87108 
    88109createcachetable <tablename>