Create superuser in Heroku deploy?

master
Nick Sergeant 2016-11-29 23:10:56 -05:00
parent 49d83461ac
commit bc411a968d
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
"logo": "https://snipt.s3.amazonaws.com/logo.png",
"success_url": "/",
"scripts": {
"postdeploy": "python manage.py migrate"
"postdeploy": "python manage.py migrate && python manage.py createsuperuser"
},
"env": {
"SECRET_KEY": {