This commit is contained in:
Trey t
2023-07-27 19:07:35 -05:00
parent 6d68c59ac3
commit 67372cc8ab
9 changed files with 84 additions and 8 deletions

View File

@@ -58,6 +58,16 @@ MIDDLEWARE = [
ROOT_URLCONF = 'werkout_api.urls'
CACHES = {
"default": {
"BACKEND": "django_redis.cache.RedisCache",
"LOCATION": "redis://redis:6379/",
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient"
},
}
}
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',