class documentation
class BooleanField(Field): (source)
Known subclasses: django.forms.fields.NullBooleanField
Undocumented
Method | has |
Return True if data differs from initial. |
Method | to |
Return a Python boolean object. |
Method | validate |
Undocumented |
Inherited from Field
:
Method | __deepcopy__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | bound |
Return the value that should be shown for this field on render of a bound form, given the submitted POST data for the field and the initial data, if any. |
Method | clean |
Validate the given value and return its "cleaned" value as an appropriate Python object. Raise ValidationError for any errors. |
Method | get |
Return a BoundField instance that will be used when accessing the form field in a template. |
Method | prepare |
Undocumented |
Method | run |
Undocumented |
Method | widget |
Given a Widget instance (*not* a Widget class), return a dictionary of any HTML attributes that should be added to the Widget, based on this Field. |
Class Variable | default |
Undocumented |
Class Variable | default |
Undocumented |
Class Variable | empty |
Undocumented |
Instance Variable | disabled |
Undocumented |
Instance Variable | error |
Undocumented |
Instance Variable | help |
Undocumented |
Instance Variable | initial |
Undocumented |
Instance Variable | label |
Undocumented |
Instance Variable | label |
Undocumented |
Instance Variable | localize |
Undocumented |
Instance Variable | required |
Undocumented |
Instance Variable | show |
Undocumented |
Instance Variable | validators |
Undocumented |
Instance Variable | widget |
Undocumented |
overrides
django.forms.fields.Field.to_python
overridden in
django.forms.fields.NullBooleanField
Return a Python boolean object.
overrides
django.forms.fields.Field.validate
overridden in
django.forms.fields.NullBooleanField
Undocumented