profile/views.py
changeset 36 5cd56898033c
parent 35 8318df7e2d52
child 37 c701e68f8d35
equal deleted inserted replaced
35:8318df7e2d52 36:5cd56898033c
    53     active_notifications = user.notification_sent_to.filter(is_deleted=False).order_by('sent_date').reverse()
    53     active_notifications = user.notification_sent_to.filter(is_deleted=False).order_by('sent_date').reverse()
    54 
    54 
    55     context = {'user':user,
    55     context = {'user':user,
    56                'notifications':active_notifications,
    56                'notifications':active_notifications,
    57               }                               
    57               }                               
       
    58 
    58     return render_to_response('profile/browse_notifications.html', context)
    59     return render_to_response('profile/browse_notifications.html', context)