From 0bce2f102c5734d0c7ff1ebf0b10a316d58ed5ce Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Fri, 3 Jun 2016 12:55:30 -0700 Subject: Fixed #12810 -- Added a check for clashing ManyToManyField.db_table names. --- docs/ref/checks.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/ref') 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 ```` has no field ````. * **fields.E339**: ``.`` is not a foreign key to ````. +* **fields.E340**: The field's intermediary table ```` clashes with + the table name of ````/``.``. * **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 -- cgit v1.3