missing dispatch super()
This commit is contained in:
parent
c5c53daa39
commit
83563e8cb3
|
@ -117,7 +117,6 @@ class ShopIndexView(ListView):
|
|||
return context
|
||||
|
||||
|
||||
|
||||
class ProductDetailView(LoginRequiredMixin, FormView, DetailView):
|
||||
model = Product
|
||||
template_name = 'product_detail.html'
|
||||
|
@ -316,6 +315,10 @@ class EpayThanksView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureClosedO
|
|||
# and ugly querystring, redirect user to the clean url
|
||||
return HttpResponseRedirect(reverse('shop:epay_thanks', kwargs={'pk': self.get_object().pk}))
|
||||
|
||||
return super(EpayThanksView, self).dispatch(
|
||||
request, *args, **kwargs
|
||||
)
|
||||
|
||||
#################################################################################
|
||||
|
||||
class BankTransferView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUnpaidOrderMixin, EnsureOrderHasProductsMixin, SingleObjectMixin, View):
|
||||
|
|
Loading…
Reference in a new issue