Ticket #22290: widgets.patch
File widgets.patch, 868 bytes (added by , 11 years 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
414 414 value = datetime_safe.new_date(value) 415 415 return value.strftime(self.format) 416 416 return value 417 417 418 418 419 class HiddenDateInput(DateInput): 420 is_hidden = True 421 input_type = 'hidden' 422 423 419 424 class DateTimeInput(TextInput): 420 425 def __init__(self, attrs=None, format=None): 421 426 super(DateTimeInput, self).__init__(attrs)