database name read from config in multitenant mode
This commit is contained in:
parent
8fd2652b0b
commit
d7de4195b4
|
@ -3,7 +3,7 @@ import os
|
|||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'tenant_schemas.postgresql_backend',
|
||||
'NAME': 'portail_admin',
|
||||
'NAME': os.environ.get('DATABASE_NAME', 'portail_admin'),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue