admin email fix
This commit is contained in:
Родитель
fb2b54c1c7
Коммит
a96da77ca8
2
app.json
2
app.json
|
@ -29,7 +29,7 @@
|
|||
"required": true
|
||||
},
|
||||
"USE_S3": "True",
|
||||
"SSL_PROTECTION": "True",
|
||||
"SSL_PROTECTION": "False",
|
||||
"CORS_ORIGIN_ALLOW_ALL": "True"
|
||||
},
|
||||
"addons": [
|
||||
|
|
|
@ -14,5 +14,5 @@ class Command(BaseCommand):
|
|||
def handle(self, *args, **options):
|
||||
password = EmailUser.objects.make_random_password()
|
||||
self.stdout.write('Your admin password is: {}'.format(password))
|
||||
user = EmailUser.objects.create_superuser('test', 'test@test.org', password)
|
||||
user.save()
|
||||
admin = EmailUser.objects.create_superuser('test', 'test@mozillafoundation.org', password)
|
||||
admin.save()
|
||||
|
|
Загрузка…
Ссылка в новой задаче