summaryrefslogtreecommitdiff
path: root/profile/views.py
diff options
context:
space:
mode:
authorNishanth Amuluru2011-01-07 12:21:43 +0530
committerNishanth Amuluru2011-01-07 12:21:43 +0530
commit75d1a5e6a46ded6293b730b57b2a89484a96dd6d (patch)
tree27a8d2b081aa22205d44ddf8459617ee0fcf64d6 /profile/views.py
parent6204222b31e3225e345c3fddde631d49281cdc71 (diff)
downloadpytask-75d1a5e6a46ded6293b730b57b2a89484a96dd6d.tar.gz
pytask-75d1a5e6a46ded6293b730b57b2a89484a96dd6d.tar.bz2
pytask-75d1a5e6a46ded6293b730b57b2a89484a96dd6d.zip
fixed a typo and browse notifications works fine
Diffstat (limited to 'profile/views.py')
-rwxr-xr-xprofile/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile/views.py b/profile/views.py
index 9192180..386ca49 100755
--- a/profile/views.py
+++ b/profile/views.py
@@ -48,7 +48,7 @@ def browse_notifications(request):
""" 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()