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