Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/topics/db/models.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down