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:
Karen Tracey 2008-11-21 16:54:10 +00:00
parent a5172c3e1f
commit 966f652464
1 changed files with 1 additions and 1 deletions

View File

@ -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()