1
0
mirror of https://github.com/django/django.git synced 2025-04-22 00:04:43 +00:00

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

Backport of dd0cbc6bdc from master
This commit is contained in:
Tim Graham 2012-10-11 18:04:25 -04:00
parent cf17d5e267
commit a1d21c0877

View File

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