Yes I have tried that but still nothing - thats what lead me to
looking at this!

On Dec 15, 3:28 pm, Lars Stavholm <[email protected]> wrote:
> Aldo wrote:
> > I am using django forms. I have created a model/form with 2 fields,
> > name and date.
>
> > Prior to saving the form i check if the form is_valid?
>
> > if form.is_valid():
> >     form.save()
>
> > My problem is it wants the date in the format - MM/DD/YYYY
> > Otherwise it will not see the form as valid - and not save.
>
> > How can i change this I want the date in the format DD/MM/YYYY
>
> Maybe setting DATE_FORMAT in settings.py could help.
>
> http://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs#date-...
>
> /Lars
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to