Fix error in INSTALLED_APPS

This commit is contained in:
Keannu Bernasol 2024-09-07 00:08:28 +08:00
parent 5dcb369ae7
commit 7690e22c64

View file

@ -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",