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

Backport of 72d04e0385 from master
This commit is contained in:
Mariusz Felisiak 2020-12-28 12:17:58 +01:00
parent 6165e23776
commit 3029e22607
1 changed files with 10 additions and 10 deletions

View File

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