summaryrefslogtreecommitdiff
path: root/website/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'website/views.py')
-rw-r--r--website/views.py2
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 = {