equal
deleted
inserted
replaced
59 active_notifications = user.notification_sent_to.filter(is_deleted=False).order_by('sent_date').reverse() |
59 active_notifications = user.notification_sent_to.filter(is_deleted=False).order_by('sent_date').reverse() |
60 |
60 |
61 context = {'user':user, |
61 context = {'user':user, |
62 'notifications':active_notifications, |
62 'notifications':active_notifications, |
63 } |
63 } |
64 |
|
65 print active_notifications |
|
66 |
64 |
67 return render_to_response('profile/browse_notifications.html', context) |
65 return render_to_response('profile/browse_notifications.html', context) |
68 |
66 |
69 @login_required |
67 @login_required |
70 def view_notification(request, nid): |
68 def view_notification(request, nid): |