Re: DateFormat in Django and Appengine

2009-09-27 Thread Karen Tracey
On Sun, Sep 27, 2009 at 6:51 PM, Peter Newman < peter.newman@googlemail.com> wrote: > > Guys - > > I have a slight issue with dates in Django and appengine: > > I have the following class because i want date input in the form of DD/ > MM/YY > > class MyForm(ModelForm): > mydate =

DateFormat in Django and Appengine

2009-09-27 Thread Peter Newman
Guys - I have a slight issue with dates in Django and appengine: I have the following class because i want date input in the form of DD/ MM/YY class MyForm(ModelForm): mydate = forms.DateTimeField(input_formats=['%d-%m-%y', '%d/%m/ %y']) class Meta: model = MyObject This