Re: Django default date formatting changes

2009-10-16 Thread David De La Harpe Golden
vishak wrote: > what you have told is OK but when you enter in datefield 10-OCT-09 > instead of 2009-10-10 it gives error. > If you don't tell a forms.DateField to expect 10-OCT-09, it won't. Django's DateField default input format list doesn't include that particular '%d-%b-%y' format by defaul

Re: Django default date formatting changes

2009-10-16 Thread Bayuadji
Hi, perhaps you could create clean_*date in your form, and change the datefield 10-OCT-09 to 10-10-2009 -djibon- On 10/16/09, vishak wrote: > > what you have told is OK but when you enter in datefield 10-OCT-09 > instead of 2009-10-10 it gives error. > > On Oct 16, 4:41 pm, Михаил Лукин wrot

Re: Django default date formatting changes

2009-10-16 Thread vishak
what you have told is OK but when you enter in datefield 10-OCT-09 instead of 2009-10-10 it gives error. On Oct 16, 4:41 pm, Михаил Лукин wrote: > Try thishttp://docs.djangoproject.com/en/dev/ref/settings/#date-format > > > > On Fri, Oct 16, 2009 at 2:21 PM, vishak wrote: > > > Hi Django users,

Re: Django default date formatting changes

2009-10-16 Thread Михаил Лукин
Try this http://docs.djangoproject.com/en/dev/ref/settings/#date-format On Fri, Oct 16, 2009 at 2:21 PM, vishak wrote: > > Hi Django users, > > I have one question in django for which details are given below > > 1] The default date format in django is '`2009-10-10' when entered > through front