1
0
mirror of https://github.com/django/django.git synced 2025-07-16 07:39:12 +00:00

[3.1.x] Corrected related fields checks messages in docs.

Backport of 72d04e03855536cf36090aedbb7aa8f1c4c8b443 from master
This commit is contained in:
Mariusz Felisiak 2020-12-28 12:17:58 +01:00
parent 6165e23776
commit 3029e22607

View File

@ -224,16 +224,16 @@ Related fields
* **fields.E300**: Field defines a relation with model ``<model>``, which is
either not installed, or is abstract.
* **fields.E301**: Field defines a relation with the model ``<model>`` which
has been swapped out.
* **fields.E302**: Accessor for field ``<field name>`` clashes with field
``<field name>``.
* **fields.E303**: Reverse query name for field ``<field name>`` clashes with
field ``<field name>``.
* **fields.E304**: Field name ``<field name>`` clashes with accessor for
``<field name>``.
* **fields.E305**: Field name ``<field name>`` clashes with reverse query name
for ``<field name>``.
* **fields.E301**: Field defines a relation with the model
``<app_label>.<model>`` which has been swapped out.
* **fields.E302**: Accessor for field ``<model>.<field name>`` clashes with
field ``<model>.<field name>``.
* **fields.E303**: Reverse query name for field ``<model>.<field name>``
clashes with field ``<model>.<field name>``.
* **fields.E304**: Field name ``<model>.<field name>`` clashes with accessor
for ``<model>.<field name>``.
* **fields.E305**: Field name ``<model>.<field name>`` clashes with reverse
query name for ``<model>.<field name>``.
* **fields.E306**: Related name must be a valid Python identifier or end with
a ``'+'``.
* **fields.E307**: The field ``<app label>.<model>.<field name>`` was declared