typofest 2016
This commit is contained in:
parent
c16d26c2db
commit
0aab582666
|
@ -58,7 +58,7 @@ class PaymentView(LoginRequiredMixin, FormView):
|
||||||
return self.render_to_response(self.get_context_data())
|
return self.render_to_response(self.get_context_data())
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
order = Order.objects.get(pk=kwargs.get('order_id')
|
order = Order.objects.get(pk=kwargs.get('order_id'))
|
||||||
context = super(CheckoutView, self).get_context_data(**kwargs)
|
context = super(CheckoutView, self).get_context_data(**kwargs)
|
||||||
context['order'] = order
|
context['order'] = order
|
||||||
return context
|
return context
|
||||||
|
@ -68,7 +68,7 @@ class CoinifyView(TemplateView):
|
||||||
template_name = 'shop/coinify_form.html'
|
template_name = 'shop/coinify_form.html'
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
order = Order.objects.get(pk=kwargs.get('order_id')
|
order = Order.objects.get(pk=kwargs.get('order_id'))
|
||||||
context = super(CoinifyView, self).get_context_data(**kwargs)
|
context = super(CoinifyView, self).get_context_data(**kwargs)
|
||||||
context['order'] = order
|
context['order'] = order
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue