misago.core.forms
package./api/
edges, either bypassing the forms altogether, or using them purely for data validation and cleaning.misago.core.forms.YesNoSwitch
TypedChoiceField
. In admin this field renders nice yes/no switch as its input.YesNoSwitch
coerces its value to int
(eg. 0
or 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:form_row
form_input