Explicitly define INSTALLED_APPS in settings.py

This commit is contained in:
Gary Reynolds 2017-06-02 18:40:03 +10:00
parent 9466781822
commit 510e0f9015
1 changed files with 9 additions and 1 deletions

View File

@ -156,7 +156,15 @@ TENANT_MODEL = "customers.Client" # app.Model
DEFAULT_FILE_STORAGE = 'tenant_schemas.storage.TenantFileSystemStorage'
INSTALLED_APPS = list(OrderedDict.fromkeys(SHARED_APPS + TENANT_APPS))
INSTALLED_APPS = (
'tenant_schemas',
'customers',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
)
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'