diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/models.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index aefb35ed9c..369747c263 100644 --- a/docs/topics/db/models.txt +++ b/docs/topics/db/models.txt @@ -720,6 +720,9 @@ Django places some restrictions on model field names: #. A field name cannot end with an underscore, for similar reasons. +#. A field name cannot be ``check``, as this would override the check + framework's ``Model.check()`` method. + These limitations can be worked around, though, because your field name doesn't necessarily have to match your database column name. See the :attr:`~Field.db_column` option. |
