#26796: Add a check for limit_choices_to on ManyToManyField with an explicit
through model
-------------------------------------+-------------------------------------
     Reporter:  charettes            |                    Owner:
         Type:                       |  andersonresende
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core (System         |                  Version:  master
  checks)                            |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by charettes):

 Replying to [comment:3 andersonresende]:
 > What should be the warning message?

 Have a look at the other messages in
 `ManyToManyField._check_ignored_options`.

 Something along the line of ''limit_choices_to has no effect on
 ManyToManyField with an explicit intermediary model.'' should do?

--
Ticket URL: <https://code.djangoproject.com/ticket/26796#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.ca8acffeb12bbc068898e0cec0196a1a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to