From 63c670c6e2f0b4d0ce196fcf89094e71553a3660 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 2 Jun 2025 12:56:14 +0200 Subject: [PATCH] =?UTF-8?q?fixup!=20=F0=9F=94=A7(back)=20allow=20to=20conf?= =?UTF-8?q?igure=20USE=5FSWAGGER=20settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/impress/settings.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/backend/impress/settings.py b/src/backend/impress/settings.py index 4395881a..83a48709 100755 --- a/src/backend/impress/settings.py +++ b/src/backend/impress/settings.py @@ -322,6 +322,7 @@ class Base(Configuration): # OIDC third party "mozilla_django_oidc", "lasuite.malware_detection", + "drf_spectacular_sidecar" ] # Cache @@ -910,7 +911,7 @@ class Development(Base): def __init__(self): # pylint: disable=invalid-name - self.INSTALLED_APPS += ["django_extensions", "drf_spectacular_sidecar"] + self.INSTALLED_APPS += ["django_extensions"] class Test(Base): @@ -923,10 +924,6 @@ class Test(Base): CELERY_TASK_ALWAYS_EAGER = values.BooleanValue(True) - def __init__(self): - # pylint: disable=invalid-name - self.INSTALLED_APPS += ["drf_spectacular_sidecar"] - class ContinuousIntegration(Test): """