Closed nmb10 closed 12 years ago
session_key is readonly since https://code.djangoproject.com/changeset/17155 changeset. Changing self.session_key = self._get_new_session_key()
To self._session_key = self._get_new_session_key() in create() method fixed error for me.
+1
I am upgrading one of our projects to the release version of Django 1.4. Spent about an hour tracking this bug down. Confirmed that this patch works for me too.
session_key is readonly since https://code.djangoproject.com/changeset/17155 changeset. Changing self.session_key = self._get_new_session_key()
To self._session_key = self._get_new_session_key() in create() method fixed error for me.