From 7572afe3fcb988ad751f9a0802d88c30c3915fa4 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Wed, 30 Mar 2016 15:41:41 +0200 Subject: [PATCH] Correct bug in views.py: invitation --- scipost/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipost/views.py b/scipost/views.py index 7a1e00c3a..2b121b169 100644 --- a/scipost/views.py +++ b/scipost/views.py @@ -126,7 +126,7 @@ def invitation(request, key): {'form': form, 'invited': True, 'key': key, 'errormessage': 'This email address is already in use'}) Utils.create_and_save_contributor() Utils.send_registration_email() - return HttpResponseRedirect('thanks_for_registering') + return HttpResponseRedirect(reverse('thanks_for_registering')) else: errormessage = 'form is invalidly filled' return render(request, 'scipost/register.html', -- GitLab