Skip to content

Commit

Permalink
Cache.reset() misbehavior fixed (closes #191).
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Feb 2, 2016
1 parent c66fff2 commit 1e0c9ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ django-sitetree changelog
=========================


Unreleased
----------
* Cache.reset() misbehavior fixed (closes #191).


v1.5.1
------
* Django 1.9 compatibility improvements.
Expand Down
2 changes: 1 addition & 1 deletion sitetree/sitetreeapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def reset(cls):
Could be used to show up tree changes made in a different process.
"""
cache.get('sitetrees_reset', True)
cache.set('sitetrees_reset', True)

def init(self):
"""Initializes local cache from Django cache."""
Expand Down

0 comments on commit 1e0c9ea

Please sign in to comment.