mirror of
https://github.com/Hopiu/django-tos.git
synced 2026-05-21 16:11:52 +00:00
Fix signal handler
This commit is contained in:
parent
b189e421dd
commit
6589aeeaf5
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ from django.core.cache import caches
|
|||
cache = caches[getattr(settings, 'TOS_CACHE_NAME', 'default')]
|
||||
|
||||
|
||||
def invalidate_cached_agreements(TermsOfService, instance, **kwargs):
|
||||
def invalidate_cached_agreements(sender, **kwargs):
|
||||
if kwargs.get('raw', False):
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue