Opened 10 years ago
Last modified 7 years ago
#23260 closed Bug
unordered_list filter doesn't work with generators — at Initial Version
Reported by: | Jaap Roes | Owned by: | nobody |
---|---|---|---|
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
Using the unorderd_list
template filter on a generator raises TypeError: object of type 'generator' has no len()
Note:
See TracTickets
for help on using tickets.