#23112: Field.get_choices tries to index an iterable
-------------------------------------+-------------------------------------
     Reporter:  bernie_sumption      |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |               Resolution:
     Severity:  Release blocker      |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by magopian):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Also, we can have a list of choices made of both named groups and "normal"
 choices, so we might no "see" that the blank choice is defined in the list
 of choices (it would be odd to not have it at the beginning of the list,
 but i don't think it's required, at least from the previous code and the
 docs).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23112#comment:1>
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/073.1e2cda6c1a370ade1e17a81bdd41b909%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to