From 6888375c53476011754f778deabc6cdbfa327011 Mon Sep 17 00:00:00 2001 From: Anthony Joseph Date: Tue, 10 Dec 2024 06:55:18 +1100 Subject: Fixed #22977 -- Added system check for clashing managers and reverse related fields. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With thanks to Konrad Świat, Loïc Bistuer, Russell Keith-Magee, and Mariusz Felisiak. Co-authored-by: Mariusz Felisiak --- docs/ref/checks.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 6f7b7d271e..699a3d34c0 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -340,6 +340,8 @@ Related fields * **fields.W346**: ``db_comment`` has no effect on ``ManyToManyField``. * **fields.E347**: Field defines a relation to the ``CompositePrimaryKey`` of model ```` which is not supported. +* **fields.E348**: Related name ```` for ``.`` + clashes with the name of a model manager. Models ------ -- cgit v1.3