mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
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()]
|
||||
>>> 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
Block a user