From 195401edb0c821ca612824c0f356c1f15e0124f3 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sun, 4 Feb 2018 11:43:47 +0100 Subject: [PATCH] Remove an unused context --- neluser/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neluser/views.py b/neluser/views.py index aa4ee57..ebe9844 100644 --- a/neluser/views.py +++ b/neluser/views.py @@ -50,8 +50,7 @@ def activate(request, uidb64, token): user.save() return render( request, - 'neluser/activate_done.html', - {'activated': activated} + 'neluser/activate_done.html' ) raise Http404("Unable to activate user %d with token %s." % (uid, token))