Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit dd0cbc6bdccfc51329427b8a6023f6e866d48cba 1 parent 2d1214d
Tim Graham timgraham authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/topics/db/models.txt
4 docs/topics/db/models.txt
View
@@ -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.