class AdminFileWidget(forms.ClearableFileInput):
Undocumented
Class Variable | template_name |
Undocumented |
Inherited from ClearableFileInput
:
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 |
Inherited from FileInput
(via ClearableFileInput
):
Method | use_required_attribute |
Undocumented |
Class Variable | input_type |
Undocumented |
Class Variable | needs_multipart_form |
Undocumented |
Inherited from Input
(via ClearableFileInput
, FileInput
):
Method | __init__ |
Undocumented |
Inherited from Widget
(via ClearableFileInput
, 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 |