Django Book 翻译
菜单>:
TOC
返回
原文:
If you use custom ``Manager`` objects, take note that the first ``Manager`` Django encounters (in order by which theyre defined in the model) has a special status. Django interprets the first ``Manager`` defined in a class as the default ``Manager`` . Certain operations such as Djangos admin site use the default ``Manager`` to obtain lists of objects, so its generally a good idea for the first ``Manager`` to be relatively unfiltered. In the last example, the ``people`` ``Manager`` is defined first so its the default ``Manager`` .
翻译:
FhlLFo
vsgwhqxhcckl
, [url=http://lsbttmznhtxy.com/]lsbttmznhtxy[/url], [link=http://ueimbzriverc.com/]ueimbzriverc[/link], http://ynqnfupqaphc.com/
备注:
译者: