Changes between Initial Version and Version 1 of Ticket #27331, comment 7


Ignore:
Timestamp:
Dec 20, 2018, 6:22:11 AM (6 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27331, comment 7

    initial v1  
    99    def __init__(self, field, groupby):
    1010        self.groupby = groupby
    11         super(field)
     11        super().__init__(field)
    1212
    1313    def __iter__(self):
     
    2626            choices_groupby = attrgetter(choices_groupby)
    2727        self.iterator = partial(GroupedModelChoiceIterator, groupby=choices_groupby)
    28         super(*args, **kwargs)
     28        super().__init__(*args, **kwargs)
    2929}}}
    3030
Back to Top