diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/checks.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index ac96fbf412..18b6d88add 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -211,6 +211,8 @@ Related Fields add at least a subset of them to a unique_together constraint. * **fields.E311**: ``<model>`` must set ``unique=True`` because it is referenced by a ``ForeignKey``. +* **fields.E312**: The ``to_field`` ``<field name>`` doesn't exist on the + related model ``<app label>.<model>``. * **fields.E320**: Field specifies ``on_delete=SET_NULL``, but cannot be null. * **fields.E321**: The field specifies ``on_delete=SET_DEFAULT``, but has no default value. |
