diff options
| author | Anthony Joseph <ajosephau@users.noreply.github.com> | 2024-12-10 06:55:18 +1100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-03-31 22:20:43 +0200 |
| commit | 6888375c53476011754f778deabc6cdbfa327011 (patch) | |
| tree | d709910e65f16a28f3886900c7a30f6fd33c5d30 /docs | |
| parent | 9d5d0e8135a9654aa289cf922fcd00ad5e2a7fe5 (diff) | |
Fixed #22977 -- Added system check for clashing managers and reverse related fields.
With thanks to Konrad Świat, Loïc Bistuer, Russell Keith-Magee,
and Mariusz Felisiak.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'docs')
| -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 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 ``<model>`` which is not supported. +* **fields.E348**: Related name ``<related_name>`` for ``<model>.<field name>`` + clashes with the name of a model manager. Models ------ |
