diff --git a/tenant_schemas/apps.py b/tenant_schemas/apps.py index 6b16b621..f8e0d0d8 100644 --- a/tenant_schemas/apps.py +++ b/tenant_schemas/apps.py @@ -21,10 +21,7 @@ def best_practice(app_configs, **kwargs): # Take the app_configs and turn them into *old style* application names. # This is what we expect in the SHARED_APPS and TENANT_APPS settings. - INSTALLED_APPS = [ - config.name - for config in app_configs - ] + INSTALLED_APPS = settings.INSTALLED_APPS if not hasattr(settings, 'TENANT_APPS'): return [Critical('TENANT_APPS setting not set')]