Ticket #9615: missing_call.patch

File missing_call.patch, 552 bytes (added by jarrow, 7 years ago)
  • tests/modeltests/order_with_respect_to/models.py

     
    6868>>> id_list = [o.pk for o in q1.answer_set.all()]
    6969>>> x = id_list.pop()
    7070>>> id_list.insert(-1, x)
    71 >>> a5.question.get_answer_order == id_list
     71>>> a5.question.get_answer_order() == id_list
    7272False
    7373>>> a5.question.set_answer_order(id_list)
    7474>>> q1.answer_set.all()
Back to Top