id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 16987 Improve failure message for test_invalid_session_key justin@… jMyles "contrib.sessions.tests.SessionTestsMixin.test_invalid_key raises AttributeError if middleware has written an item to the cache which uses an integer for the key. Ticket author found that djangobb (a packaged django forum app which ticket author has no affiliation) uses this technique. Conventional session cache keys, for security as well as readability, need to use namespaces. " Bug closed contrib.sessions 1.3 Normal fixed tests, sessions Accepted 1 0 0 0 0 0