syntax
This commit is contained in:
parent
916f1ed59f
commit
018723f27d
|
@ -308,7 +308,7 @@ class EpayThanksView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureClosedO
|
||||||
if request.GET:
|
if request.GET:
|
||||||
# epay redirects the user back to our accepturl with a long
|
# epay redirects the user back to our accepturl with a long
|
||||||
# and ugly querystring, redirect user to the clean url
|
# 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:
|
else:
|
||||||
return super(EpayThanksView, self).get(
|
return super(EpayThanksView, self).get(
|
||||||
request, *args, **kwargs
|
request, *args, **kwargs
|
||||||
|
|
Loading…
Reference in a new issue