1.4 cache session storage is not backward compatible
|Reported by:||slymsg@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I just updated from 1.3 to 1.4 using
and my sessions were lost.
Apparently the cache backend in 1.4 uses an
extra prefix to store the session_key in the cache:
KEY_PREFIX = "django.contrib.sessions.cache"
Since this prefix cannot be configured from the
settings, I had to create a new cache session backend
based on the 1.4 version, setting KEY_PREFIX to "".
I cannot find anything about this change in the
changelogs. Did I miss something?