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
This commit is contained in:
Malcolm Tredinnick 2008-10-07 11:48:11 +00:00
parent 2ae36375fc
commit 777aaf0333
1 changed files with 1 additions and 0 deletions

View File

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