mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-08 22:14:53 +03:00
Use old-style .format() for the time being
This commit is contained in:
parent
cee145fdea
commit
157dc560d4
|
@ -19,7 +19,7 @@ DATABASES['default']['CONN_MAX_AGE'] = env.int('CONN_MAX_AGE', default=60)
|
||||||
CACHES = {
|
CACHES = {
|
||||||
'default': {
|
'default': {
|
||||||
'BACKEND': 'django_redis.cache.RedisCache',
|
'BACKEND': 'django_redis.cache.RedisCache',
|
||||||
'LOCATION': f"{env('REDIS_URL', default='redis://127.0.0.1:6379')}/0",
|
'LOCATION': "{}/0".format(env('REDIS_URL', default='redis://127.0.0.1:6379')),
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'CLIENT_CLASS': 'django_redis.client.DefaultClient',
|
'CLIENT_CLASS': 'django_redis.client.DefaultClient',
|
||||||
# Mimicing memcache behavior.
|
# Mimicing memcache behavior.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user