/api/edges, either bypassing the forms altogether, or using them purely for data validation and cleaning.
TypedChoiceField. In admin this field renders nice yes/no switch as its input.
YesNoSwitchcoerces its value to
1)! Remember about this when writing code dealing with forms containing this field!
misago_forms. This extension contains two template tags for rendering form fields: