Allow to redeem a voucher for an existing cart

This commit is contained in:
Raphael Michel
2019-12-11 12:56:49 +01:00
parent 1c99e01af9
commit 8822d572f5
8 changed files with 313 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ import pretix.presale.views.widget
frame_wrapped_urls = [
url(r'^cart/remove$', pretix.presale.views.cart.CartRemove.as_view(), name='event.cart.remove'),
url(r'^cart/voucher$', pretix.presale.views.cart.CartApplyVoucher.as_view(), name='event.cart.voucher'),
url(r'^cart/clear$', pretix.presale.views.cart.CartClear.as_view(), name='event.cart.clear'),
url(r'^cart/answer/(?P<answer>[^/]+)/$',
pretix.presale.views.cart.AnswerDownload.as_view(),