Fixed #16588 - Warned about field names that conflict with the model API

This commit is contained in:
Tim Graham 2012-10-11 18:04:25 -04:00
parent 2d1214d92a
commit dd0cbc6bdc
1 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,9 @@ Fields
The most important part of a model -- and the only required part of a model -- The most important part of a model -- and the only required part of a model --
is the list of database fields it defines. Fields are specified by class is the list of database fields it defines. Fields are specified by class
attributes. attributes. Be careful not to choose field names that conflict with the
:doc:`models API </ref/models/instances>` like ``clean``, ``save``, or
``delete``.
Example:: Example::