From 018723f27d88f64d6de32c8ec22e19723485a19c Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sun, 29 May 2016 16:20:48 +0200 Subject: [PATCH] syntax --- shop/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop/views.py b/shop/views.py index 6e37639c..650eac42 100644 --- a/shop/views.py +++ b/shop/views.py @@ -308,7 +308,7 @@ class EpayThanksView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureClosedO if request.GET: # epay redirects the user back to our accepturl with a long # and ugly querystring, redirect user to the clean url - return HttpResponseRedirect(reverse_lazy('shop:epay_thanks', kwargs={'pk': self.pk}) + return HttpResponseRedirect(reverse('shop:epay_thanks', kwargs={'pk': self.pk})) else: return super(EpayThanksView, self).get( request, *args, **kwargs