-
Notifications
You must be signed in to change notification settings - Fork 429
Closed
Description
I try to make migrate, but get these error:
SystemCheckError: System check identified some issues:
ERRORS:
?: (tenant_schemas.E002) You have TENANT_APPS that are not in INSTALLED_APPS
HINT: ['account.apps.AccountConfig', 'core.apps.CoreConfig', 'cadastro.apps.CadastroConfig', 'financeiro.apps.FinanceiroConfig']
?: (tenant_schemas.E003) You have SHARED_APPS that are not in INSTALLED_APPS
HINT: ['publico.apps.PublicoConfig']
Process finished with exit code 1
But I put all on INSTALLED_APPS:
SHARED_APPS = (
'tenant_schemas', # mandatory, should always be before any django app
'publico.apps.PublicoConfig', # you must list the app where your tenant model resides in
'django.contrib.contenttypes',
# everything below here is optional
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
)
TENANT_APPS = (
'django.contrib.contenttypes',
# your tenant-specific apps
# 3rd apps
'widget_tweaks',
'bootstrap3',
'crispy_forms',
'password_reset',
'rest_framework',
'forms_builder.forms',
# ERPbr apps
'account.apps.AccountConfig',
# 'api.apps.ApiConfig',
'core.apps.CoreConfig',
'cadastro.apps.CadastroConfig',
'financeiro.apps.FinanceiroConfig',
)
INSTALLED_APPS = [
'tenant_schemas', # mandatory, should always be before any django app
'publico.apps.PublicoConfig', # you must list the app where your tenant model resides in
'django.contrib.contenttypes',
# everything below here is optional
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
'widget_tweaks',
'bootstrap3',
'crispy_forms',
'password_reset',
'rest_framework',
'forms_builder.forms',
# ERPbr apps
'account.apps.AccountConfig',
# 'api.apps.ApiConfig',
'core.apps.CoreConfig',
'cadastro.apps.CadastroConfig',
'financeiro.apps.FinanceiroConfig',
]
What's I doing wrong?
ebram96
Metadata
Metadata
Assignees
Labels
No labels