diff options
| author | Berker Peksag <berker.peksag@gmail.com> | 2016-06-03 12:55:30 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-06-10 10:57:22 -0400 |
| commit | 0bce2f102c5734d0c7ff1ebf0b10a316d58ed5ce (patch) | |
| tree | 54a2a9d3088e8d70255a4aa99dbc255bb2bfa81e /docs | |
| parent | faeeb84edfebecf5a5f40df9ef816e5f1cd457c6 (diff) | |
Fixed #12810 -- Added a check for clashing ManyToManyField.db_table names.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 074a901de8..aff3bd2bdc 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -245,6 +245,8 @@ Related Fields * **fields.E338**: The intermediary model ``<through model>`` has no field ``<field name>``. * **fields.E339**: ``<model>.<field name>`` is not a foreign key to ``<model>``. +* **fields.E340**: The field's intermediary table ``<table name>`` clashes with + the table name of ``<model>``/``<model>.<field name>``. * **fields.W340**: ``null`` has no effect on ``ManyToManyField``. * **fields.W341**: ``ManyToManyField`` does not support ``validators``. * **fields.W342**: Setting ``unique=True`` on a ``ForeignKey`` has the same |
