Ticket #11301: 11301.diff
File 11301.diff, 509 bytes (added by , 15 years ago) |
---|
-
django/forms/widgets.py
724 724 """ 725 725 A Widget that splits datetime input into two <input type="hidden"> inputs. 726 726 """ 727 is_hidden = True 728 727 729 def __init__(self, attrs=None): 728 730 widgets = (HiddenInput(attrs=attrs), HiddenInput(attrs=attrs)) 729 731 super(SplitDateTimeWidget, self).__init__(widgets, attrs)