Changes between Initial Version and Version 1 of Ticket #27331, comment 7
- Timestamp:
- Dec 20, 2018, 6:22:11 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27331, comment 7
initial v1 9 9 def __init__(self, field, groupby): 10 10 self.groupby = groupby 11 super( field)11 super().__init__(field) 12 12 13 13 def __iter__(self): … … 26 26 choices_groupby = attrgetter(choices_groupby) 27 27 self.iterator = partial(GroupedModelChoiceIterator, groupby=choices_groupby) 28 super( *args, **kwargs)28 super().__init__(*args, **kwargs) 29 29 }}} 30 30