feat: COPPA - remove primary/elementary option from education (#29147)

Remove `primary/elementary` option from education field if COPPA compliance
feature flag is enabled. Also, renamed the flag.

VAN-762
This commit is contained in:
Waheed Ahmed
2021-10-28 14:12:53 +05:00
committed by GitHub
parent 79cd0b1ef8
commit d5ab616ca8
13 changed files with 44 additions and 25 deletions

View File

@@ -144,7 +144,7 @@ def account_settings_context(request):
),
'extended_profile_fields': _get_extended_profile_fields(),
'beta_language': beta_language,
'collect_year_of_birth': settings.COLLECT_YEAR_OF_BIRTH,
'enable_coppa_compliance': settings.ENABLE_COPPA_COMPLIANCE,
}
enterprise_customer = enterprise_customer_for_request(request)