Selaa lähdekoodia

必须配置cache

yf_fyh 3 vuotta sitten
vanhempi
commit
b6ea7daed1
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  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',
+    }
+}