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