On Wed, Feb 11, 2009 at 12:19 PM, Edgard Matos <edgardma...@gmail.com>wrote:
> Anybody help me? > > On Wed, Feb 11, 2009 at 11:36 AM, Edgard Matos <edgardma...@gmail.com>wrote: > >> Hi! >> >> I have a model with a DateField and I'm setting the input_formats >> properties to "%d/%m/%Y": >> birth_date = forms.DateField(input_formats=("%d/%m/%Y",)) >> >> When I go add a object in this format ("%Y/%m/%d"), the django validation >> validate with sucess. >> >> But when I edit my object: >> form = UserForm(instance=stored_user) >> Django fill the DateField in this format: ("%Y-%m-%d") >> >> How I do to Django fill the field in this format ("%Y/%m/%d") ? >> >> Anybody help me? >> Thanks! >> >> Edgard Matos from Brazil >> > > > > -- > Atenciosamente, > Edgard Matos > E-mail: edgardma...@gmail.com > Skype: edgardmatos > Celular: 85 8837 8285 > > > > > Please be more patient, you've scarcely waited 3 hours before sending another email. Remember that everyone who replies here is a volunteer, and we are scattered around the world, across many time zones, so try to wait at least a full day before "bumping" a thread. Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." --Voltaire "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---