Ticket #4428: fields.diff
File fields.diff, 428 bytes (added by , 17 years ago) |
---|
-
fields.py
284 284 ) 285 285 286 286 class DateTimeField(Field): 287 widget = DateTimeInput 287 288 def __init__(self, input_formats=None, *args, **kwargs): 288 289 super(DateTimeField, self).__init__(*args, **kwargs) 289 290 self.input_formats = input_formats or DEFAULT_DATETIME_INPUT_FORMATS