#11707: limit_choices_to on a ForeignKey can render duplicate options in 
formfield
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  charstring
  Chris.Wesseling@…                  |         Status:  new
                   Type:  Bug        |      Component:  Forms
              Milestone:             |       Severity:  Normal
                Version:  SVN        |       Keywords:  ForeingKey
             Resolution:             |  limit_choices_to, dceu2011
           Triage Stage:  Accepted   |      Has patch:  1
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
Changes (by charstring):

 * keywords:  ForeingKey limit_choices_to => ForeingKey limit_choices_to,
     dceu2011
 * needs_better_patch:  1 => 0


Comment:

 Talked to Russ. Picked one of the unclean solutions:

 filter in python before displaying and checking again before getting the
 choice.

 Thanks to Jonas and Roald!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/11707#comment:16>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to