summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBernd Wechner <bernd.wechner@gmail.com>2021-09-22 15:53:10 +1000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-10-06 12:33:15 +0200
commit2116238d5f2ce19571becb5620ef16ce9048db9f (patch)
tree944939c00a338cf4b3ff807119a032859412aa1c /docs
parent402ae37873974afa5093e6d6149175a118979cd9 (diff)
Fixed #33131 -- Improved error messages for clashing reverse accessor names.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index fe8ed6bc45..727d16b772 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -247,12 +247,14 @@ Related fields
either not installed, or is abstract.
* **fields.E301**: Field defines a relation with the model
``<app_label>.<model>`` which has been swapped out.
-* **fields.E302**: Reverse accessor for ``<app_label>.<model>.<field name>``
- clashes with field name ``<app_label>.<model>.<field name>``.
+* **fields.E302**: Reverse accessor ``<related model>.<accessor name>`` for
+ ``<app_label>.<model>.<field name>`` clashes with field name
+ ``<app_label>.<model>.<field name>``.
* **fields.E303**: Reverse query name for ``<app_label>.<model>.<field name>``
clashes with field name ``<app_label>.<model>.<field name>``.
-* **fields.E304**: Reverse accessor for ``<app_label>.<model>.<field name>``
- clashes with reverse accessor for ``<app_label>.<model>.<field name>``.
+* **fields.E304**: Reverse accessor ``<related model>.<accessor name>`` for
+ ``<app_label>.<model>.<field name>`` clashes with reverse accessor for
+ ``<app_label>.<model>.<field name>``.
* **fields.E305**: Reverse query name for ``<app_label>.<model>.<field name>``
clashes with reverse query name for ``<app_label>.<model>.<field name>``.
* **fields.E306**: The name ``<name>`` is invalid ``related_name`` for field