Changes between Version 4 and Version 5 of CookBookNewFormsDynamicFields


Ignore:
Timestamp:
Jan 2, 2008, 1:24:14 PM (17 years ago)
Author:
Jorge 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