class documentation

class FileInput(Input):

Known subclasses: django.forms.widgets.ClearableFileInput

View In Hierarchy

Undocumented

Method format​_value File input never renders a value.
Method use​_required​_attribute Undocumented
Method value​_from​_datadict File widgets take data from FILES, not POST
Method value​_omitted​_from​_data Undocumented
Class Variable input​_type Undocumented
Class Variable needs​_multipart​_form Undocumented
Class Variable template​_name Undocumented

Inherited from Input:

Method __init__ Undocumented
Method get​_context Undocumented

Inherited from Widget (via 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
def format_value(self, value):
File input never renders a value.
def use_required_attribute(self, initial):
def value_from_datadict(self, data, files, name):
File widgets take data from FILES, not POST
def value_omitted_from_data(self, data, files, name):
input_type: str =

Undocumented

needs_multipart_form: bool =
template_name: str =