fix initial datas
This commit is contained in:
parent
4f562162bf
commit
9cdc5e40d4
|
@ -22,7 +22,7 @@ class Command(BaseCommand):
|
||||||
def handle(self, *args, **kwargs):
|
def handle(self, *args, **kwargs):
|
||||||
ADMIN_EMAIL = config('ADMIN_EMAIL', 'admin@example.org')
|
ADMIN_EMAIL = config('ADMIN_EMAIL', 'admin@example.org')
|
||||||
ADMIN_PASSWORD = config('ADMIN_PASSWORD', '1234')
|
ADMIN_PASSWORD = config('ADMIN_PASSWORD', '1234')
|
||||||
KEY_DIDS = config('KEY_DIDS')
|
KEY_DIDS = config('KEY_DIDS', '1234')
|
||||||
cache.set("KEY_DIDS", KEY_DIDS, None)
|
cache.set("KEY_DIDS", KEY_DIDS, None)
|
||||||
|
|
||||||
self.create_admin_users(ADMIN_EMAIL, ADMIN_PASSWORD)
|
self.create_admin_users(ADMIN_EMAIL, ADMIN_PASSWORD)
|
||||||
|
|
Loading…
Reference in New Issue