瀏覽代碼

必须配置cache

yf_fyh 3 年之前
父節點
當前提交
b6ea7daed1
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      bigdataAPI/settings.py

+ 5 - 5
bigdataAPI/settings.py

@@ -177,8 +177,8 @@ JWT_AUTH = {
 }
 
 
-# CACHES = {
-#     'default': {
-#         'BACKEND': 'uwsgicache.UWSGICache',
-#     }
-# }
+CACHES = {
+    'default': {
+        'BACKEND': 'uwsgicache.UWSGICache',
+    }
+}