From ba53da894fc713629ae4d3fbdd14eff98c808389 Mon Sep 17 00:00:00 2001 From: Anderson Resende Date: Fri, 8 Jul 2016 20:37:40 -0300 Subject: Fixed #26796 -- Added a system check for m2m fields with ignored limit_choices_to. --- docs/ref/checks.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index aff3bd2bdc..5eed9f0aed 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -251,6 +251,8 @@ Related Fields * **fields.W341**: ``ManyToManyField`` does not support ``validators``. * **fields.W342**: Setting ``unique=True`` on a ``ForeignKey`` has the same effect as using a ``OneToOneField``. +* **fields.W343**: ``limit_choices_to`` has no effect on ``ManyToManyField`` + with a ``through`` model. Signals ~~~~~~~ -- cgit v1.3