Ticket #22290: widgets.patch

File widgets.patch, 868 bytes (added by anonymous, 14 months ago)
  • ../../../Users/dibrovsd/.virtualenv/py_docflow/lib/python2.7/site-packages/django/forms/widgets.py

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    414414            value = datetime_safe.new_date(value)
    415415            return value.strftime(self.format)
    416416        return value
    417 
     417   
    418418
     419class HiddenDateInput(DateInput):
     420    is_hidden = True
     421    input_type = 'hidden'
     422
     423
    419424class DateTimeInput(TextInput):
    420425    def __init__(self, attrs=None, format=None):
    421426        super(DateTimeInput, self).__init__(attrs)
Back to Top