diff options
Diffstat (limited to 'pytask/profile/utils.py')
-rw-r--r-- | pytask/profile/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pytask/profile/utils.py b/pytask/profile/utils.py index 745901c..bc33464 100644 --- a/pytask/profile/utils.py +++ b/pytask/profile/utils.py @@ -9,7 +9,7 @@ def get_notification(nid, user): """ user_notifications = user.notification_sent_to.filter(is_deleted=False).order_by('sent_date') - current_notifications = user_notifications.filter(uniq_key=nid) + current_notifications = user_notifications.filter(pk=nid) if user_notifications: current_notification = current_notifications[0] |