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