revert: Le cache est global, va falloir le rendre plus granulaire
This commit is contained in:
parent
b765b03a20
commit
09fe207e5e
@ -62,9 +62,9 @@ MIDDLEWARE = [
|
|||||||
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
||||||
"django.contrib.messages.middleware.MessageMiddleware",
|
"django.contrib.messages.middleware.MessageMiddleware",
|
||||||
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|
||||||
"django.middleware.cache.UpdateCacheMiddleware",
|
# "django.middleware.cache.UpdateCacheMiddleware",
|
||||||
"django.middleware.common.CommonMiddleware",
|
# "django.middleware.common.CommonMiddleware",
|
||||||
"django.middleware.cache.FetchFromCacheMiddleware",
|
# "django.middleware.cache.FetchFromCacheMiddleware",
|
||||||
]
|
]
|
||||||
|
|
||||||
CKEDITOR_CONFIGS = {
|
CKEDITOR_CONFIGS = {
|
||||||
@ -192,14 +192,14 @@ COMPRESS_PRECOMPILERS = (("text/x-scss", "django_libsass.SassCompiler"),)
|
|||||||
|
|
||||||
# cache
|
# cache
|
||||||
|
|
||||||
CACHES = {
|
#CACHES = {
|
||||||
"default": {
|
# "default": {
|
||||||
"BACKEND": "django.core.cache.backends.redis.RedisCache",
|
# "BACKEND": "django.core.cache.backends.redis.RedisCache",
|
||||||
"LOCATION": REDIS_URL,
|
# "LOCATION": REDIS_URL,
|
||||||
"KEY_PREFIX": "agenda",
|
# "KEY_PREFIX": "agenda",
|
||||||
"TIMEOUT": 60 * 15,
|
# "TIMEOUT": 60 * 15,
|
||||||
}
|
# }
|
||||||
}
|
#}
|
||||||
|
|
||||||
|
|
||||||
# EMAIL settings
|
# EMAIL settings
|
||||||
|
Loading…
Reference in New Issue
Block a user