Trabajando para aprovechar el cache el las relaciones

This commit is contained in:
Daniel Cortes
2020-06-09 01:55:12 -04:00
parent 2edca8e255
commit 72bcf94d11
5 changed files with 57 additions and 30 deletions

View File

@@ -86,7 +86,8 @@ CACHES = {
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient",
},
"KEY_PREFIX": "DJANGO_SERVER"
"KEY_PREFIX": "DJANGO_SERVER",
"KEY_FUNCTION": "utils.make_key"
}
}