diff --git a/README.md b/README.md index 928c33a9..516c73a7 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ IDOM_WS_MAX_RECONNECT_DELAY: int = 604800 # Configure a cache for loading JS files CACHES = { # Configure a cache for loading JS files for IDOM - "idom_web_modules": {"BACKEND": ...}, + "idom": {"BACKEND": ...}, # If the above cache is not configured, then we'll use the "default" instead "default": {"BACKEND": ...}, } diff --git a/src/django_idom/config.py b/src/django_idom/config.py index 1d527a9e..349605bf 100644 --- a/src/django_idom/config.py +++ b/src/django_idom/config.py @@ -15,7 +15,7 @@ _CACHES = getattr(settings, "CACHES", {}) if _CACHES: if "idom_web_modules" in getattr(settings, "CACHES", {}): - IDOM_WEB_MODULE_CACHE = "idom_web_modules" + IDOM_WEB_MODULE_CACHE = "idom" else: IDOM_WEB_MODULE_CACHE = DEFAULT_CACHE_ALIAS else: