jazzband / django-floppyforms

Full control of form rendering in the templates.
http://django-floppyforms.readthedocs.org/
Other
839 stars 145 forks source link

DateInput ignores format kwarg #164

Closed orestis closed 9 years ago

orestis commented 9 years ago

Should be pretty obvious:

def __init__(self, attrs=None, format=None):
    super(DateInput, self).__init__(attrs)
    self.format = '%Y-%m-%d'
gregmuellegger commented 9 years ago

Hey, thanks for the input. It's actually not that obvious :) This originates from the work on #115. I've added a comment to the code to make clear why we are doing this: 53d1d8a8d7f00c14bdc6249afd9242ba1748fe3b