From d2ca86bba2a568d2aefacc48abf283a44093ba77 Mon Sep 17 00:00:00 2001 From: Joel Addison Date: Tue, 7 Jan 2020 21:18:23 +1000 Subject: [PATCH] Require login for voucher page --- vendor/registrasion/registrasion/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/registrasion/registrasion/views.py b/vendor/registrasion/registrasion/views.py index d1692695..c75ea9bd 100644 --- a/vendor/registrasion/registrasion/views.py +++ b/vendor/registrasion/registrasion/views.py @@ -532,6 +532,7 @@ def product_category(request, category_id): return render(request, "registrasion/product_category.html", data) +@login_required def voucher_code(request): ''' A view *just* for entering a voucher form. '''