mirror of https://github.com/django/django.git
Corrected related fields checks messages in docs.
This commit is contained in:
parent
ce30e750e6
commit
72d04e0385
|
@ -237,16 +237,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
|
||||||
|
|
Loading…
Reference in New Issue