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