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:12 -0400 |
| commit | dd0cbc6bdccfc51329427b8a6023f6e866d48cba (patch) | |
| tree | 630db394351cbddc2a2d8715dbe3a3a465c19fe7 | |
| parent | 2d1214d92ae67acaf2246c3dc2ea37cdf7e1c2a5 (diff) | |
Fixed #16588 - Warned about field names that conflict with the model API
| -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 f29cc28332..beb62f049c 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:: |
