use reverse_lazy instead of reverse
This commit is contained in:
parent
5be92b46ff
commit
db597a4a36
|
@ -208,11 +208,11 @@ class CoinifyRedirectView(TemplateView):
|
||||||
plugin_name='BornHack 2016 webshop',
|
plugin_name='BornHack 2016 webshop',
|
||||||
plugin_version='1.0',
|
plugin_version='1.0',
|
||||||
description='BornHack 2016 order id #%s' % order.id,
|
description='BornHack 2016 order id #%s' % order.id,
|
||||||
callback_url=reverse(
|
callback_url=reverse_lazy(
|
||||||
'shop:coinfy_callback',
|
'shop:coinfy_callback',
|
||||||
kwargs={'orderid': order.id}
|
kwargs={'orderid': order.id}
|
||||||
),
|
),
|
||||||
return_url=reverse(
|
return_url=reverse_lazy(
|
||||||
'shop:order_paid',
|
'shop:order_paid',
|
||||||
kwargs={'orderid': order.id}
|
kwargs={'orderid': order.id}
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue