From a07fbf5c0237b06c425c6f5c7e4d7383147fa671 Mon Sep 17 00:00:00 2001 From: Jens L Date: Tue, 28 Nov 2023 11:23:19 +0100 Subject: [PATCH] root: disable django-silk profiler (#7715) Signed-off-by: Jens Langhammer --- authentik/root/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 5c9e5bf45..634e1bba8 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -411,7 +411,6 @@ if DEBUG: CELERY["task_always_eager"] = True os.environ[ENV_GIT_HASH_KEY] = "dev" INSTALLED_APPS.append("silk") - SILKY_PYTHON_PROFILER = True MIDDLEWARE = ["silk.middleware.SilkyMiddleware"] + MIDDLEWARE REST_FRAMEWORK["DEFAULT_RENDERER_CLASSES"].append( "rest_framework.renderers.BrowsableAPIRenderer"