make questionset a py3 iterator
parent
c0a60a83df
commit
cb6de53bfc
|
@ -197,6 +197,8 @@ class QuestionSet(models.Model, metaclass=TransMeta):
|
|||
retnext = True
|
||||
return None
|
||||
|
||||
__next__ = next
|
||||
|
||||
def prev(self):
|
||||
qs = self.questionnaire.questionsets()
|
||||
last = None
|
||||
|
|
Loading…
Reference in New Issue