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
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
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,
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
4 matches
Mail list logo