Ticket #22290: fields.patch

File fields.patch, 1.2 KB (added by anonymous, 17 months ago)
  • ../../../Users/dibrovsd/.virtualenv/py_docflow/lib/python2.7/site-packages/django/forms/fields.py

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    1818from django.forms.widgets import (
    1919    TextInput, NumberInput, EmailInput, URLInput, HiddenInput,
    2020    MultipleHiddenInput, ClearableFileInput, CheckboxInput, Select,
    21     NullBooleanSelect, SelectMultiple, DateInput, DateTimeInput, TimeInput,
     21    NullBooleanSelect, SelectMultiple, DateInput, HiddenDateInput, DateTimeInput, TimeInput,
    2222    SplitDateTimeWidget, SplitHiddenDateTimeWidget, FILE_INPUT_CONTRADICTION
    2323)
    2424from django.utils import formats
     
    405405
    406406class DateField(BaseTemporalField):
    407407    widget = DateInput
     408    hidden_widget = HiddenDateInput
    408409    input_formats = formats.get_format_lazy('DATE_INPUT_FORMATS')
    409410    default_error_messages = {
    410411        'invalid': _('Enter a valid date.'),
Back to Top