From d28b488e91b24c1eb4939c5bb2a2ffb705f450cd Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Thu, 16 Nov 2023 14:14:53 +0100 Subject: [PATCH] fix-pylint Signed-off-by: Marc 'risson' Schmitt --- authentik/blueprints/apps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/authentik/blueprints/apps.py b/authentik/blueprints/apps.py index b241dd20d..fc286eb7e 100644 --- a/authentik/blueprints/apps.py +++ b/authentik/blueprints/apps.py @@ -5,7 +5,6 @@ from inspect import ismethod from django.apps import AppConfig from django.db import DatabaseError, InternalError, ProgrammingError -from django_tenants.utils import get_public_schema_name from structlog.stdlib import BoundLogger, get_logger @@ -60,6 +59,8 @@ class ManagedAppConfig(AppConfig): def reconcile(self) -> None: """reconcile ourselves""" + from django_tenants.utils import get_public_schema_name + from authentik.tenants.models import Tenant try: