Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit 7994c00

Browse files
committed
fix: update demo_proj cache settings
1 parent 0430539 commit 7994c00

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

demo_proj/ncov/settings.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,6 @@
150150
}
151151
}
152152

153-
if DEBUG == True:
154-
CACHES['default']['BACKEND'] = 'django.core.cache.backends.locmem.LocMemCache'
155-
CACHES['default']['LOCATION'] = 'ncov'
156-
157153
# 跨域增加忽略
158154
CORS_ALLOW_CREDENTIALS = True
159155
CORS_ORIGIN_ALLOW_ALL = True

0 commit comments

Comments
 (0)