refactor(api): rename CACHE_DEFAULT to CACHE_URL_DEFAULT
This commit is contained in:
parent
e7e83e91de
commit
ca3106828d
|
@ -805,11 +805,11 @@ if AUTH_LDAP_ENABLED:
|
||||||
# SLUGLIFIER
|
# SLUGLIFIER
|
||||||
AUTOSLUG_SLUGIFY_FUNCTION = "slugify.slugify"
|
AUTOSLUG_SLUGIFY_FUNCTION = "slugify.slugify"
|
||||||
|
|
||||||
CACHE_DEFAULT = "redis://127.0.0.1:6379/0"
|
CACHE_URL_DEFAULT = "redis://127.0.0.1:6379/0"
|
||||||
if IS_DOCKER_SETUP:
|
if IS_DOCKER_SETUP:
|
||||||
CACHE_DEFAULT = "redis://redis:6379/0"
|
CACHE_URL_DEFAULT = "redis://redis:6379/0"
|
||||||
|
|
||||||
CACHE_URL = env.cache_url("CACHE_URL", default=CACHE_DEFAULT)
|
CACHE_URL = env.cache_url("CACHE_URL", default=CACHE_URL_DEFAULT)
|
||||||
"""
|
"""
|
||||||
The URL of your redis server. For example:
|
The URL of your redis server. For example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue