On Mon, 2009-03-30 at 16:24 -0700, Mitch 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.

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.

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