From 7690e22c64af0d316944b114672102759d9046d5 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 7 Sep 2024 00:08:28 +0800 Subject: [PATCH] Fix error in INSTALLED_APPS --- backend/config/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config/settings.py b/backend/config/settings.py index 034d3b4..4751a5c 100644 --- a/backend/config/settings.py +++ b/backend/config/settings.py @@ -83,7 +83,6 @@ EMAIL_ADDRESS = (get_secret('EMAIL_ADDRESS') == 'True') # Application definition INSTALLED_APPS = [ - 'silk' if DEBUG else None, 'config', 'unfold', 'unfold.contrib.filters', @@ -116,6 +115,7 @@ INSTALLED_APPS = [ ] if DEBUG: + INSTALLED_APPS += ['silk'] MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', "silk.middleware.SilkyMiddleware",