diff --git a/django/contrib/sessions/backends/cache.py b/django/contrib/sessions/backends/cache.py index 0c7eb8d2cb..1b4906f923 100644 --- a/django/contrib/sessions/backends/cache.py +++ b/django/contrib/sessions/backends/cache.py @@ -43,7 +43,9 @@ class SessionStore(SessionBase): continue self.modified = True return - raise RuntimeError("Unable to create a new session key.") + raise RuntimeError( + "Unable to create a new session key. " + "It is likely that the cache is unavailable.") def save(self, must_create=False): if must_create: