class ClearableFileInput(FileInput):
Known subclasses: django.contrib.admin.widgets.AdminFileWidget
Undocumented
Method | clear_checkbox_id |
Given the name of the clear checkbox input, return the HTML id for it. |
Method | clear_checkbox_name |
Given the name of the file input, return the name of the clear checkbox input. |
Method | format_value |
Return the file object if it has a defined url attribute. |
Method | get_context |
Undocumented |
Method | is_initial |
Return whether value is considered to be initial value. |
Method | value_from_datadict |
File widgets take data from FILES, not POST |
Method | value_omitted_from_data |
Undocumented |
Class Variable | clear_checkbox_label |
Undocumented |
Class Variable | initial_text |
Undocumented |
Class Variable | input_text |
Undocumented |
Class Variable | template_name |
Undocumented |
Inherited from FileInput
:
Method | use_required_attribute |
Undocumented |
Class Variable | input_type |
Undocumented |
Class Variable | needs_multipart_form |
Undocumented |
Inherited from Input
(via FileInput
):
Method | __init__ |
Undocumented |
Inherited from Widget
(via FileInput
, Input
):
Method | __deepcopy__ |
Undocumented |
Method | _render |
Undocumented |
Method | build_attrs |
Build an attribute dictionary. |
Method | id_for_label |
Return the HTML ID attribute of this Widget for use by a <label>, given the ID of the field. Return None if no ID is available. |
Method | render |
Render the widget as an HTML string. |
Method | subwidgets |
Undocumented |
Class Variable | is_localized |
Undocumented |
Class Variable | is_required |
Undocumented |
Class Variable | supports_microseconds |
Undocumented |
Instance Variable | attrs |
Undocumented |
Property | is_hidden |
Undocumented |
django.forms.widgets.Input.get_context
Undocumented