Django Book 翻译
菜单>:
TOC
返回
原文:
The ``Manager`` is the main source of ``QuerySets`` for a model. It acts as a root ``QuerySet`` that describes all objects in the models database table. For example, ``Blog.objects`` is the initial ``QuerySet`` that contains all ``Blog`` objects in the database.
翻译:
对一个模块来讲, ``Manager`` 是 ``QuerySets`` 的主要来源。它就像一个根本的 ``QuerySet`` ,可以对模块的数据库表中的所有对象进行描述。比如, ``Blog.objects`` 就是包含着数据库中所有的 ``Blog`` 对象的一个根本的 ``QuerySet`` 。
备注:
译者: