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 21357 Test client session does not behave as stated in the django documentation. aaronmerriam@… nobody "In the documentation for testing, it states that you can run the following code to manually insert values into the test client session. {{{ def test_something(self): session = self.client.session session['somekey'] = 'test' session.save() }}} https://docs.djangoproject.com/en/1.5/topics/testing/overview/#django.test.client.Client.session In actuality, `self.client.session` is of type `dict` and a calling `save()` raises an `AttributeError`." Bug closed Testing framework dev Normal fixed bmispelon@… Accepted 1 0 0 1 0 0