#23112: Field.get_choices tries to index an iterable
-------------------------------------+-------------------------------------
Reporter: bernie_sumption | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.7-rc-2
(models, ORM) | Resolution:
Severity: Release blocker | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by areski):
* cc: areski@… (added)
Comment:
I could reproduce the issue using an iterator, here a PR that fix the
issue at my end
https://github.com/django/django/pull/2990
Calling list as @apollo13 just mentioned. Thanks
--
Ticket URL: <https://code.djangoproject.com/ticket/23112#comment:5>
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.45e3ef32381ec4f4fda1ca0e3194db14%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.