Django Book 翻译
菜单>:
TOC
返回
原文:
Marks this object as orderable with respect to the given field. This is almost always used with related objects to allow them to be ordered with respect to a parent object. For example, if an ``Answer`` relates to a ``Question`` object, and a question has more than one answer, and the order of answers matters, youd do this:
翻译:
标识这个对象可以根据指定字段排序,这个主要用于相互关联的对象,让他们可以按照和父对象相关的方式排序。例如,如果 ``Answer`` 和 ``Question`` 对象相关,同一个问题可能对应多个答案,如果答案顺序很重要的话,你应该这样做:
备注:
译者: