commit
ad19e90d43
|
@ -103,7 +103,6 @@ class QuestionSet(models.Model):
|
||||||
def questions(self):
|
def questions(self):
|
||||||
if not hasattr(self, "__qcache"):
|
if not hasattr(self, "__qcache"):
|
||||||
self.__qcache = list(Question.objects.filter(questionset=self.id).order_by('number'))
|
self.__qcache = list(Question.objects.filter(questionset=self.id).order_by('number'))
|
||||||
self.__qcache.sort()
|
|
||||||
return self.__qcache
|
return self.__qcache
|
||||||
|
|
||||||
def next(self):
|
def next(self):
|
||||||
|
|
Loading…
Reference in New Issue