From 52c090cdfff9de9629509c217ba0124b313d4a47 Mon Sep 17 00:00:00 2001 From: James Polley Date: Sun, 30 Sep 2018 14:59:10 +1000 Subject: [PATCH] Don't show T&Cs even on the EXCLUDE_COMPLETE 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 fb62808b..3b3d9c03 100644 --- a/vendor/registrasion/registrasion/views.py +++ b/vendor/registrasion/registrasion/views.py @@ -278,6 +278,7 @@ def _guided_registration_products(request, mode): cats = cats.exclude(id=settings.TERMS_PRODUCT_CATEGORY) elif mode == GUIDED_MODE_EXCLUDE_COMPLETE: cats = cats.exclude(id=settings.TICKET_PRODUCT_CATEGORY) + cats = cats.exclude(id=settings.TERMS_PRODUCT_CATEGORY) cats = cats.exclude(id__in=old_cats) # We update the session key at the end of this method