diff options
| -rw-r--r-- | CHANGES.md | 7 | ||||
| -rw-r--r-- | ishtar_common/models.py | 2 | ||||
| -rw-r--r-- | version.py | 2 | 
3 files changed, 9 insertions, 2 deletions
| diff --git a/CHANGES.md b/CHANGES.md index 327894c03..fff3040bd 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,13 @@  Ishtar changelog  ================ +0.98.1 (2016-09-11) +------------------- + +### Bug fixes ### + +- Fix right caching +  0.98.0 (2016-09-11)  ------------------- diff --git a/ishtar_common/models.py b/ishtar_common/models.py index e4a72eab7..f3f9f0778 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2520,7 +2520,7 @@ class IshtarUser(User):          res = cache.get(cache_key)          if res in (True, False):              return res -        res = super(IshtarUser, self).has_perm(perm, obj) +        res = super(IshtarUser, self).has_perm(perm, model)          cache.set(cache_key, res, settings.CACHE_SMALLTIMEOUT)          return res diff --git a/version.py b/version.py index 454f45b60..6b7df7378 100644 --- a/version.py +++ b/version.py @@ -1,4 +1,4 @@ -VERSION = (0, 98, 0) +VERSION = (0, 98, 1)  def get_version(): | 
