class documentation
Known subclasses: django.forms.widgets.CheckboxInput
, django.forms.widgets.EmailInput
, django.forms.widgets.FileInput
, django.forms.widgets.HiddenInput
, django.forms.widgets.NumberInput
, django.forms.widgets.PasswordInput
, django.forms.widgets.TextInput
, django.forms.widgets.URLInput
Base class for all <input> widgets.
Method | __init__ |
Undocumented |
Method | get |
Undocumented |
Class Variable | template |
Undocumented |
Instance Variable | input |
Undocumented |
Inherited from Widget
:
Method | __deepcopy__ |
Undocumented |
Method | build |
Build an attribute dictionary. |
Method | format |
Return a value as it should appear when rendered in a template. |
Method | id |
Return the HTML ID attribute of this Widget for use by a <label>, given the ID of the field. Return an empty string if no ID is available. |
Method | render |
Render the widget as an HTML string. |
Method | subwidgets |
Undocumented |
Method | use |
Undocumented |
Method | value |
Given a dictionary of data and this widget's name, return the value of this widget or None if it's not provided. |
Method | value |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | needs |
Undocumented |
Class Variable | supports |
Undocumented |
Class Variable | use |
Undocumented |
Instance Variable | attrs |
Undocumented |
Property | is |
Undocumented |
Method | _render |
Undocumented |
overrides
django.forms.widgets.Widget.__init__
overridden in
django.contrib.admin.widgets.AdminEmailInputWidget
, django.contrib.admin.widgets.AdminIntegerFieldWidget
, django.contrib.admin.widgets.AdminTextInputWidget
, django.contrib.admin.widgets.AdminURLFieldWidget
, django.contrib.admin.widgets.AdminUUIDInputWidget
, django.contrib.admin.widgets.ForeignKeyRawIdWidget
, django.forms.widgets.CheckboxInput
, django.forms.widgets.DateTimeBaseInput
, django.forms.widgets.PasswordInput
Undocumented
overrides
django.forms.widgets.Widget.get_context
overridden in
django.contrib.admin.widgets.AdminURLFieldWidget
, django.contrib.admin.widgets.ForeignKeyRawIdWidget
, django.forms.widgets.CheckboxInput
, django.forms.widgets.ClearableFileInput
, django.forms.widgets.MultipleHiddenInput
, django.forms.widgets.PasswordInput
Undocumented