Merge pull request #121 from levivm/feature/new_digitalglarus
fixed redirect url
This commit is contained in:
commit
7265131919
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class BookingPaymentView(LoginRequiredMixin, MembershipRequired, FormView):
|
||||||
return super(BookingPaymentView, self).dispatch(request, *args, **kwargs)
|
return super(BookingPaymentView, self).dispatch(request, *args, **kwargs)
|
||||||
|
|
||||||
def get_success_url(self, order_id):
|
def get_success_url(self, order_id):
|
||||||
return reverse('digitalglarus:booking_orders_datail', kwargs={'pk': order_id})
|
return reverse('digitalglarus:booking_orders_detail', kwargs={'pk': order_id})
|
||||||
|
|
||||||
def get_form_kwargs(self):
|
def get_form_kwargs(self):
|
||||||
form_kwargs = super(BookingPaymentView, self).get_form_kwargs()
|
form_kwargs = super(BookingPaymentView, self).get_form_kwargs()
|
||||||
|
|
Loading…
Reference in a new issue