mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-08 05:54: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 = {
|
||||
'default': {
|
||||
'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': {
|
||||
'CLIENT_CLASS': 'django_redis.client.DefaultClient',
|
||||
# Mimicing memcache behavior.
|
||||
|
|
Loading…
Reference in New Issue
Block a user