Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing INSTALLED_APPS but not in SHARED_APPS or TENANT_APPS error #569

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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