diff --git a/tenant_schemas/apps.py b/tenant_schemas/apps.py index 6b16b621..5e5583a4 100644 --- a/tenant_schemas/apps.py +++ b/tenant_schemas/apps.py @@ -19,12 +19,7 @@ def best_practice(app_configs, **kwargs): if app_configs is None: app_configs = apps.get_app_configs() - # 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')]