mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Fix error in INSTALLED_APPS
This commit is contained in:
parent
5dcb369ae7
commit
7690e22c64
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue