Skip to content

Commit

Permalink
Fix one more userprofile/user mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
teemulehtinen committed Sep 19, 2016
1 parent d73aea5 commit 8a21997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notification/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def notifications(self):


def invalidate_notifications(sender, instance, **kwargs):
CachedNotifications.invalidate(instance.recipient)
CachedNotifications.invalidate(instance.recipient.user)


# Automatically invalidate cache when notifications change.
Expand Down

0 comments on commit 8a21997

Please sign in to comment.