Opened 10 years ago

Last modified 7 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 Jaap Roes)

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 Jaap Roes, 10 years ago

Description: modified (diff)
Has patch: set
Owner: changed from nobody to Jaap Roes
Status: newassigned

comment:2 by Jaap Roes, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top