mirror of
https://github.com/jazzband/django-authority.git
synced 2026-05-11 09:03:11 +00:00
Removed liar comment RE: smart cache default
The smart cache defaults to enabled.
This commit is contained in:
parent
ff0ad30673
commit
426e0db6af
1 changed files with 0 additions and 2 deletions
|
|
@ -194,8 +194,6 @@ class BasePermission(object):
|
|||
|
||||
@property
|
||||
def use_smart_cache(self):
|
||||
# AUTHORITY_USE_SMART_CACHE defaults to False to maintain backwards
|
||||
# compatibility.
|
||||
use_smart_cache = getattr(settings, 'AUTHORITY_USE_SMART_CACHE', True)
|
||||
return (self.user or self.group) and use_smart_cache
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue