Django Book 翻译
菜单>:
TOC
返回
原文:
Adding extra ``Manager`` methods is the preferred way to add table-level functionality to your models. (For row-level functionality that is, functions that act on a single instance of a model object use model methods (see below), not custom ``Manager`` methods.)
翻译:
增加附加的 ``Manager`` 方法是在模型中增加数据表级别的功能的首选方法。(对于行级别的功能——就是作用于模型的单个实例上的功能——要使用模型方法(下面有介绍),而不是定制的 ``Manager`` 方法。)
备注:
译者: