#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
---------------------------------+--------------------------------------
Description changed by jaap3:
Old description:
> Created a pull request:
> https://github.com/django/django/pull/3034
New description:
Using the `unorderd_list` template filter on a generator raises
`TypeError: object of type 'generator' has no len()`
Created a pull request:
https://github.com/django/django/pull/3034
--
--
Ticket URL: <https://code.djangoproject.com/ticket/23260#comment:2>
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.d60d9b3cee0e8772aee384cd90f4e4bd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.