Commit a1d21c08 authored by Tim Graham's avatar Tim Graham
Browse files

[1.4.X] Fixed #16588 - Warned about field names that conflict with the model API

Backport of dd0cbc6b from master
parent cf17d5e2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -84,7 +84,9 @@ Fields

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
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::