/sigh

I knew it was going to be something like this.  I'm sorry to have
troubled you :-/.

Thank you, JKM.

On Mar 12, 9:31 pm, Jacob Kaplan-Moss <jacob.kaplanm...@gmail.com>
wrote:
> On Wed, Mar 11, 2009 at 11:30 AM,Alex G<alexander.gir...@gmail.com> wrote:
>
> > Having referencedhttp://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 -- 
> seehttp://docs.python.org/library/functions.html#superfor 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