On Mon, 2009-03-30 at 19:48 -0400, Karen Tracey wrote: > On Mon, Mar 30, 2009 at 7:40 PM, Malcolm Tredinnick > <malc...@pointy-stick.com> wrote: > Presumably you are talking about calling the constructor of > forms.DateField here, since you don't mention what __init__ > method you > are calling. Support for the input_formats argument to > DateField.__init__ has only been around for about a week (it > was > commited to trunk on March 22). It will be in the Django 1.1 > release. If > you want it right this minute, you'll have to run a subversion > checkout > of the code. > > Actually forms.DateField supported input_formats before r10115. What > got added there was the DateInput widget, which accepts the format arg > to control the output display of the existing value. (You're in a > maze of twisty passages,all alike.)
Indeed. My mistake. Regards, Malcolm > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---