Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions tenant_schemas/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down