class documentation

class AdminFileWidget(forms.ClearableFileInput):

View In Hierarchy

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
template_name: str =