From e23a76e9d6e594c735e338552ad274705c3e9624 Mon Sep 17 00:00:00 2001 From: Eran Kampf Date: Thu, 14 Dec 2023 11:20:05 -0800 Subject: [PATCH] Fix if statement --- django_multitenant/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django_multitenant/utils.py b/django_multitenant/utils.py index c3a9d2d..6ba0947 100644 --- a/django_multitenant/utils.py +++ b/django_multitenant/utils.py @@ -1,10 +1,10 @@ import inspect from django.apps import apps -from django.conf import settings +from .settings import TENANT_USE_ASGIREF -if settings.TENANT_USE_ASGIREF: +if TENANT_USE_ASGIREF: # asgiref must be installed, its included with Django >= 3.0 from asgiref.local import Local as local else: