On Mon, Mar 30, 2009 at 7:24 PM, Mitch <[email protected]> wrote:

>
> With django 1.0.2 and Python 2.5, when I use the keyword
> DateField.input_formats, I get the error that __init__() got an
> unexpected keyword argument 'input_formats'. When I look in the
> __init__ definition, I don't see input_formats as one of the
> acceptable keyword arguments.
>

Where are you looking exactly?  1.0.2's form DateField supports
input_formats as an __init__ keyword argument:

http://code.djangoproject.com/browser/django/tags/releases/1.0.2/django/forms/fields.py#L285

Are you maybe looking at the model DateField?

(#8962 was recently fixed bringing more consistency across the various date
and time fields to the support for format and input_format in the various
individual, split, and combined date and time fields, and that was only
applied to trunk as I didn't consider it a bugfix, but this particular
argument to the form DateField wasn't affected by that.)

Karen

--~--~---------~--~----~------------~-------~--~----~
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