diff -r 5cd56898033c -r c701e68f8d35 profile/views.py --- a/profile/views.py Fri Jan 07 12:16:50 2011 +0530 +++ b/profile/views.py Fri Jan 07 12:21:43 2011 +0530 @@ -48,7 +48,7 @@ """ get the list of notifications that are not deleted and display in datetime order.""" - user = get_user(request.user) + user = request.user active_notifications = user.notification_sent_to.filter(is_deleted=False).order_by('sent_date').reverse()