wrap in str()
This commit is contained in:
parent
334a10359e
commit
1c429d0ec2
|
@ -233,7 +233,7 @@ class EpayFormView(TemplateView):
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
order = Order.objects.get(pk=kwargs.get('pk'))
|
order = Order.objects.get(pk=kwargs.get('pk'))
|
||||||
accept_url = 'https://' + self.request.get_host() + order.get_absolute_url()
|
accept_url = 'https://' + self.request.get_host() + str(order.get_absolute_url())
|
||||||
amount = order.total
|
amount = order.total
|
||||||
order_id = str(order.pk)
|
order_id = str(order.pk)
|
||||||
description = "BornHack 2016 order #%s" % order.pk
|
description = "BornHack 2016 order #%s" % order.pk
|
||||||
|
|
Loading…
Reference in a new issue