Opened 11 years ago
Last modified 8 years ago
#23260 closed Bug
unordered_list filter doesn't work with generators — at Version 2
| Reported by: | Jaap Roes | Owned by: | Jaap Roes |
|---|---|---|---|
| Component: | Template system | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
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
Change History (2)
comment:1 by , 11 years ago
| Description: | modified (diff) |
|---|---|
| Has patch: | set |
| Owner: | changed from to |
| Status: | new → assigned |
comment:2 by , 11 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.