diff options
Diffstat (limited to 'ishtar_common/backend.py')
| -rw-r--r-- | ishtar_common/backend.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/ishtar_common/backend.py b/ishtar_common/backend.py index 67218ffca..261e4dc6f 100644 --- a/ishtar_common/backend.py +++ b/ishtar_common/backend.py @@ -56,7 +56,7 @@ class ObjectPermBackend(ModelBackend):              model_name = perm.split('_')[-1].lower()              model = None              for app in apps.get_apps(): -                for modl in cache.get_models(app): +                for modl in apps.get_models(app):                      if modl.__name__.lower() == model_name:                          model = modl              if not model: | 
