changeset 470 | 68884c9b61e0 |
parent 420 | 920fb0dcc384 |
--- a/pytask/profile/utils.py Tue Jan 18 21:59:20 2011 +0530 +++ b/pytask/profile/utils.py Tue Jan 18 22:01:02 2011 +0530 @@ -9,7 +9,7 @@ """ 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]