mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	[1.7.x] Fixed #23062 -- Documented how to create superuser.
Patch by Tim Graham. Thanks areski for the review.
Backport of 53a61d8 from master.
			
			
This commit is contained in:
		| @@ -686,6 +686,10 @@ The behavior of this command changes depending on the arguments provided: | |||||||
|   unapplying migrations if you have previously migrated past the named |   unapplying migrations if you have previously migrated past the named | ||||||
|   migration. Use the name ``zero`` to unapply all migrations for an app. |   migration. Use the name ``zero`` to unapply all migrations for an app. | ||||||
|  |  | ||||||
|  | Unlike ``syncdb``, this command does not prompt you to create a superuser if | ||||||
|  | one doesn't exist (assuming you are using :mod:`django.contrib.auth`). Use | ||||||
|  | :djadmin:`createsuperuser` to do that if you wish. | ||||||
|  |  | ||||||
| .. django-admin-option:: --fake | .. django-admin-option:: --fake | ||||||
|  |  | ||||||
| The ``--fake`` option tells Django to mark the migrations as having been | The ``--fake`` option tells Django to mark the migrations as having been | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user