浏览代码

Added a note about where custom manager specifications go in a model (for the
style guide).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9191 bcc190cf-cafb-0310-a4f2-bffc1f526a37

Malcolm Tredinnick 16 年之前
父节点
当前提交
777aaf0333
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      docs/internals/contributing.txt

+ 1 - 0
docs/internals/contributing.txt

@@ -555,6 +555,7 @@ Model style
       follows (noting that these are not all required):
 
         * All database fields
+        * Custom manager attributes
         * ``class Meta``
         * ``def __unicode__()``
         * ``def __str__()``