Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Reverting changes in 8c6047c @knaperek knaperek committed 8 days ago
  • Loading branch information
Andrew Stoltz committed Apr 6, 2016
commit 19c02e2ac9e5af6d49b8ea9da3e5cf7f39fdeff3
3 changes: 3 additions & 0 deletions djangosaml2/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ def _set_objects(self, objects):
def sync(self):
# Changes in inner objects do not cause session invalidation
# https://docs.djangoproject.com/en/1.9/topics/http/sessions/#when-sessions-are-saved
objs = {}
objs.update(self)
self._set_objects(objs)
self.session.modified = True


Expand Down