#23260: unordered_list filter doesn't work with generators
---------------------------------+--------------------------------------
Reporter: jaap3 | Owner: jaap3
Type: Bug | Status: assigned
Component: Template system | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by jaap3):
* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => jaap3
* needs_docs: => 0
* has_patch: 0 => 1
Old description:
> Using the `unorderd_list` template filter on a generator raises
> `TypeError: object of type 'generator' has no len()`
New description:
Created a pull request:
https://github.com/django/django/pull/3034
--
--
Ticket URL: <https://code.djangoproject.com/ticket/23260#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/063.23730e0e657c0c8e0d8d2b01af517123%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.