diff options
| author | Akis Kesoglou <akis@radial.gr> | 2014-03-07 13:56:28 +0200 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2014-03-11 19:33:04 -0300 |
| commit | aaad3e27ac7cfcbbfeac6353d17d27e8da523cc8 (patch) | |
| tree | 551dcf8b74b5fd3b00ee8b0b0b306baf8f305b84 /docs/ref/checks.txt | |
| parent | f4d91638fc4ab126ee9a269552511f5963ee61b4 (diff) | |
Fixed #22217 - ManyToManyField.through_fields fixes.
- Docs description of arguments mix up.
- Keep it from erroneously masking E332 check.
- Add checks E338 and E339, tweak message of E337.
Diffstat (limited to 'docs/ref/checks.txt')
| -rw-r--r-- | docs/ref/checks.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index f7c2e721cb..98a6e00e73 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -94,7 +94,9 @@ Related Fields * **fields.E334**: The model is used as an intermediate model by ``<model>``, but it has more than one foreign key from ``<model>``, which is ambiguous. You must specify which foreign key Django should use via the through_fields keyword argument. * **fields.E335**: The model is used as an intermediate model by ``<model>``, but it has more than one foreign key to ``<model>``, which is ambiguous. You must specify which foreign key Django should use via the through_fields keyword argument. * **fields.E336**: The model is used as an intermediary model by ``<model>``, but it does not have foreign key to ``<model>`` or ``<model>``. -* **fields.E337**: The field is given an iterable for through_fields, which does not provide the names for both link fields that Django should use for the relation through <model>. +* **fields.E337**: Field specifies ``through_fields`` but does not provide the names of the two link fields that should be used for the relation through ``<model>``. +* **fields.E338**: The intermediary model ``<through model>`` has no field ``<field name>``. +* **fields.E339**: ``<model>.<field name>`` is not a foreign key to ``<model>``. Signals ~~~~~~~ |
