#23112: Field.get_choices tries to index an iterable: itertools.tee' object has no attribute '__getitem__' -------------------------------------+------------------------------------- Reporter: bernie_sumption | Owner: areski Type: Bug | Status: assigned Component: Database layer | Version: 1.7-rc-2 (models, ORM) | Resolution: Severity: Release blocker | Triage Stage: Accepted Keywords: | Needs documentation: 0 Has patch: 1 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+-------------------------------------
Comment (by areski): Thanks @CollinAnderson check the pull request, I just added a fix for empty iterators and also some regression tests -- Ticket URL: <https://code.djangoproject.com/ticket/23112#comment:18> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/073.4e244b901a7ceaddbc8dd1c376a01ab8%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.