mirror of https://github.com/django/django.git
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:
parent
2ae36375fc
commit
777aaf0333
|
@ -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__()``
|
||||
|
|
Loading…
Reference in New Issue