Ticket #11301: 11301.diff

File 11301.diff, 509 bytes (added by dgouldin, 6 years ago)
  • django/forms/widgets.py

     
    724724    """
    725725    A Widget that splits datetime input into two <input type="hidden"> inputs.
    726726    """
     727    is_hidden = True
     728   
    727729    def __init__(self, attrs=None):
    728730        widgets = (HiddenInput(attrs=attrs), HiddenInput(attrs=attrs))
    729731        super(SplitDateTimeWidget, self).__init__(widgets, attrs)
Back to Top