1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #26796 -- Added a system check for m2m fields with ignored limit_choices_to.

This commit is contained in:
Anderson Resende
2016-07-08 20:37:40 -03:00
committed by Tim Graham
parent 8a4f017f45
commit ba53da894f
3 changed files with 32 additions and 6 deletions

View File

@@ -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
~~~~~~~