diff --git a/vendor/registrasion/registrasion/views.py b/vendor/registrasion/registrasion/views.py index af47185d..d1692695 100644 --- a/vendor/registrasion/registrasion/views.py +++ b/vendor/registrasion/registrasion/views.py @@ -650,7 +650,12 @@ def _handle_voucher(request, prefix): ''' Handles a voucher form in the given request. Returns the voucher form instance, and whether the voucher code was handled. ''' - voucher_form = forms.VoucherForm(request.POST or None, prefix=prefix) + initial = {} + if request.GET: + initial = request.GET.copy() + + voucher_form = forms.VoucherForm(request.POST or None, prefix=prefix, + initial=initial) current_cart = CartController.for_user(request.user) if (voucher_form.is_valid() and