Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.4.X] Fixed #16588 - Warned about field names that conflict with th…

…e model API

Backport of dd0cbc6 from master
  • Loading branch information...
commit a1d21c08774c87b8d2995aada5ad20c650ad7570 1 parent cf17d5e
@timgraham timgraham authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/topics/db/models.txt
View
4 docs/topics/db/models.txt
@@ -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::
Please sign in to comment.
Something went wrong with that request. Please try again.