diff options
| author | Tim Graham <timograham@gmail.com> | 2012-10-11 18:04:25 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-10-11 18:05:49 -0400 |
| commit | a1d21c08774c87b8d2995aada5ad20c650ad7570 (patch) | |
| tree | bb05304c27ab7cf4aebf47753a1c18953fa4f542 /docs/topics | |
| parent | cf17d5e2676f7ddf71ce0a78bfa0060da718924c (diff) | |
[1.4.X] Fixed #16588 - Warned about field names that conflict with the model API
Backport of dd0cbc6bdc from master
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/db/models.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index 40e4a0a65b..60d3a7016f 100644 --- a/docs/topics/db/models.txt +++ b/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:: |
