On Wed, Mar 11, 2009 at 11:30 AM, Alex G <alexander.gir...@gmail.com> wrote:
>
> Having referenced http://www.b-list.org/weblog/2008/nov/09/dynamic-forms/,
> I set about in an attempt to make a dynamic form through a simple
> change to __init__, but not all is well...
>
[snip]
> .        super(RFSInputForm, self).__init__(self, *args, **kwargs)

That's your bug -- you don't need `self` in there -- see
http://docs.python.org/library/functions.html#super for more
information on how `super()` works. That line should
read`super(RFSInputForm, self).__init__(*args, **kwargs)`

Jacob

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

Reply via email to