Merge branch 'master' of https://e.coding.net/ctcdevteam/examtest
This commit is contained in:
commit
320dd2a996
|
@ -85,6 +85,16 @@ TEMPLATES = [
|
|||
WSGI_APPLICATION = 'server.wsgi.application'
|
||||
|
||||
|
||||
CACHES = {
|
||||
"default": {
|
||||
"BACKEND": "django_redis.cache.RedisCache",
|
||||
"LOCATION": "redis://localhost:6379/1",
|
||||
"OPTIONS": {
|
||||
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/3.0/ref/settings/#databases
|
||||
|
||||
|
|
Loading…
Reference in New Issue