Use createsuperuser email and username flags

This commit is contained in:
José Padilla 2017-11-24 14:25:41 -05:00
parent c63e35cb09
commit b904effab7
No known key found for this signature in database
GPG Key ID: AAE3EF579B2987B1

View File

@ -54,7 +54,7 @@ Now sync your database for the first time:
We'll also create an initial user named `admin` with a password of `password123`. We'll authenticate as that user later in our example.
python manage.py createsuperuser
python manage.py createsuperuser --email admin@example.com --username admin
Once you've set up a database and initial user created and ready to go, open up the app's directory and we'll get coding...