Fixed #16588 - Warned about field names that conflict with the model API
This commit is contained in:
parent
2d1214d92a
commit
dd0cbc6bdc
|
@ -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::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue