Try this http://docs.djangoproject.com/en/dev/ref/settings/#date-format
On Fri, Oct 16, 2009 at 2:21 PM, vishak <[email protected]> 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 frontend (i.e by using models.DateField()). I manipulated > this behavior to '10-OCT-09'. > > 2] Everything is fine upto now, but when i save the data the django > validation error comes saying > "Date format should be YYYY-mm-dd". > > Can anyone provide a solution to override this behavior of django and > also explain why django supports only 'yyyy-mm-dd' format. > > Thanks in advance > > Vishak.V > > > -- regards, Mihail --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

