use reverse_lazy instead of reverse

This commit is contained in:
Thomas Steen Rasmussen 2016-05-16 17:07:18 +02:00
parent 5be92b46ff
commit db597a4a36

View file

@ -208,11 +208,11 @@ class CoinifyRedirectView(TemplateView):
plugin_name='BornHack 2016 webshop',
plugin_version='1.0',
description='BornHack 2016 order id #%s' % order.id,
callback_url=reverse(
callback_url=reverse_lazy(
'shop:coinfy_callback',
kwargs={'orderid': order.id}
),
return_url=reverse(
return_url=reverse_lazy(
'shop:order_paid',
kwargs={'orderid': order.id}
),