Use a YesNo field for T&C/CoC agreement

Using a checkbox doesn't make it obvious that this is required.
This commit is contained in:
James Polley 2017-10-01 14:48:59 +11:00
parent ac0ef79b73
commit 3f4050d96f

View file

@ -28,4 +28,5 @@ class ProfileForm(forms.ModelForm):
}
field_classes = {
"of_legal_age": YesNoField,
"agreement": YesNoField,
}