Fixed #9615 -- Typo fix to testcase. Thanks jarrow.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a5172c3e1f
commit
966f652464
|
@ -68,7 +68,7 @@ The ordering can be altered:
|
||||||
>>> id_list = [o.pk for o in q1.answer_set.all()]
|
>>> id_list = [o.pk for o in q1.answer_set.all()]
|
||||||
>>> x = id_list.pop()
|
>>> x = id_list.pop()
|
||||||
>>> id_list.insert(-1, x)
|
>>> id_list.insert(-1, x)
|
||||||
>>> a5.question.get_answer_order == id_list
|
>>> a5.question.get_answer_order() == id_list
|
||||||
False
|
False
|
||||||
>>> a5.question.set_answer_order(id_list)
|
>>> a5.question.set_answer_order(id_list)
|
||||||
>>> q1.answer_set.all()
|
>>> q1.answer_set.all()
|
||||||
|
|
Loading…
Reference in New Issue