Don't show T&Cs even on the EXCLUDE_COMPLETE page

This commit is contained in:
James Polley 2018-09-30 14:59:10 +10:00
parent 380bbcf567
commit 52c090cdff

View file

@ -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