diff options
author | Jayaram Pai | 2014-04-19 20:22:08 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-04-19 20:22:08 +0530 |
commit | d298093a832e5de45645811b2ee924cf0d46537c (patch) | |
tree | 9b4e66822180149a1395e8e5ae69b5a5fda3ab49 /website | |
parent | 9d5d6cdde3d7da6cb6520828a4a3aa5d4d612a8c (diff) | |
download | FOSSEE-Forum-d298093a832e5de45645811b2ee924cf0d46537c.tar.gz FOSSEE-Forum-d298093a832e5de45645811b2ee924cf0d46537c.tar.bz2 FOSSEE-Forum-d298093a832e5de45645811b2ee924cf0d46537c.zip |
fixed clear all notification bug
reported via gmail by psachin
Diffstat (limited to 'website')
-rw-r--r-- | website/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/views.py b/website/views.py index 81283f7..bc58b79 100644 --- a/website/views.py +++ b/website/views.py @@ -315,7 +315,7 @@ def user_notifications(request, user_id): @login_required def clear_notifications(request): Notification.objects.filter(uid=request.user.id).delete() - return HttpResponseRedirect("/user/{}/notifications/".format(request.user.id)) + return HttpResponseRedirect("/user/{0}/notifications/".format(request.user.id)) def search(request): context = { |