summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-01-01 10:23:56 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-01-02 13:06:47 +0100
commitb322319f9d779b8726436421daae2862a380061d (patch)
tree80d1511e3ddd12e36b672093c1e0752eb0babb33 /docs
parent2a61b5f97c0f9ec9ff3f321090bd8e6ed609793c (diff)
Fixed #36034 -- Added system check for ForeignKey/ForeignObject/ManyToManyField to CompositePrimaryKeys.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index 17570a1923..edadc06e2e 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -338,6 +338,8 @@ Related fields
* **fields.W345**: ``related_name`` has no effect on ``ManyToManyField`` with a
symmetrical relationship, e.g. to "self".
* **fields.W346**: ``db_comment`` has no effect on ``ManyToManyField``.
+* **fields.E347**: Field defines a relation to the ``CompositePrimaryKey`` of
+ model ``<model>`` which is not supported.
Models
------