Thanks for your replies, Koeb and Ady. Ady, if I understood I've to place the code from
http://code.djangoproject.com/attachment/ticket/3672/ticket%233672--patch-test.diff to - python/site-packages/django/forms/forms.py and - python/site-packages/django/forms/widgets.py and then I call the form with the follow field: date = forms.DateField(widget=DateTextInput(format='d/m/y'), input_formats=['%d/%m/%y']) It's correct? On 18 Mar, 13:45, Adi Sieker <a...@sieker.info> wrote: > Hi, > > On 18.03.2009, at 13:01, MarcoS wrote: > > > > > Hi Adi, thanks for your reply! > > > I had just tried the DateField.input_formats, but the problem was that > > I'm using the date admin widgets. > > If I specify input_formats like: '%d.%m.%y', I can't use the admin > > widgets 'cause it insert the date in the format: '%Y-%m-%d' (how you > > can see in django/contrib/admin/media/js/admin/DateTimeShortcuts.js > > line 239)... > > The Problem with the Admin is that the DateField doesn't respect any > output formats. > Check this ticket for a possible > solution:http://code.djangoproject.com/ticket/3672 > > adi > > -- > Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 > Freelance developer skype: adijsieker > SAP-Consultant web: http://www.sieker.info/profile > openbc:https://www.openbc.com/hp/ > AdiJoerg_Sieker/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---