Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt 2024-01-11 14:48:12 +01:00
parent da6dec5a61
commit 95e97f9b1c
No known key found for this signature in database
GPG Key ID: 9C3FA22FABF1AA8D
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class ManagedAppConfig(AppConfig):
"""reconcile ourselves""" """reconcile ourselves"""
from django_tenants.utils import get_public_schema_name, schema_context from django_tenants.utils import get_public_schema_name, schema_context
# Special case for the authentik_tenants app, as we need to create the default tenant # Special case for the authentik_tenants app, as we need to create the default tenant
# before being able to use it # before being able to use it
if self.label == "authentik_tenants": if self.label == "authentik_tenants":
with schema_context(get_public_schema_name()): with schema_context(get_public_schema_name()):