Open VirginiaDooley opened 3 years ago
I think this fox for this would be either to remove the line from the template, or to add a default here:
https://github.com/DemocracyClub/dc_base_theme/blob/master/dc_theme/templatetags/dc_forms.py#L30
Another error related to DC_theme:
Failed: Undefined template variable 'LANGUAGE_CODE' in '/Users/michaelcollins/code/dc/WhoCanIVoteFor/env/lib/python3.6/site-packages/dc_theme/templates/dc_base_naked.html'
After adding
FAIL_INVALID_TEMPLATE_VARS = 1
to WCIVF, we discovered that one failure is coming from within this repo:Failed:Undefined template variable 'form.required_css_class' in '/Users/michaelcollins/code/dc/WhoCanIVoteFor/env/lib/python3.6/site-packages/dc_theme/templates/dc_forms/field.html'