Changes between Version 4 and Version 5 of CookBookNewFormsDynamicFields


Ignore:
Timestamp:
01/02/2008 01:24:14 PM (8 years ago)
Author:
gajon
Comment:

Fixed a bug when calling the class' super(); you can't pass self to init

Legend:

Unmodified
Added
Removed
Modified
  • CookBookNewFormsDynamicFields

    v4 v5  
    2222
    2323    def __init__(self, questions, *args, **kwargs):
    24         super(Survey, self).__init__(self, *args, **kwargs)
     24        super(Survey, self).__init__(*args, **kwargs)
    2525        # now we add each question individually
    2626        for i, question in enumerate(questions):
Back to Top