Opened 15 years ago
Closed 14 years ago
#13475 closed (fixed)
for tag raises an exception when trying to unpack a non-iterable item
Reported by: | Chris Beaven | Owned by: | Chris Beaven |
---|---|---|---|
Component: | Template system | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Example:
from django import template template.Template('{% for x, y in p %}.{% endfor %}').render(template.Context({'p': [1]}))
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | 13475.diff added |
---|
comment:1 by , 15 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Patch with test