Browse Source

PEP 8.

feature/python-error-tracking
Drew Larson 9 years ago
parent
commit
bb5d77b185
  1. 3
      bikeshop_project/core/forms.py

3
bikeshop_project/core/forms.py

@ -10,7 +10,8 @@ logger = logging.getLogger('bikeshop')
class MembershipForm(ModelForm): class MembershipForm(ModelForm):
member = CharField(required=True, widget=HiddenInput()) member = CharField(required=True, widget=HiddenInput())
self_ident_other = CharField(required=False, label='Self identification', widget=TextInput(attrs={'class': 'mdl-textfield__input'})) self_ident_other = CharField(required=False, label='Self identification',
widget=TextInput(attrs={'class': 'mdl-textfield__input'}))
gender_other = CharField(required=False, label='Other', widget=TextInput(attrs={'class': 'mdl-textfield__input'})) gender_other = CharField(required=False, label='Other', widget=TextInput(attrs={'class': 'mdl-textfield__input'}))
safe_space = BooleanField(required=True, widget=CheckboxInput( safe_space = BooleanField(required=True, widget=CheckboxInput(
attrs={'class': 'mdl-checkbox__input'} attrs={'class': 'mdl-checkbox__input'}

Loading…
Cancel
Save