dictsort raises TemplateSyntaxError when not provided with a list of dictionaries
For example, if one puts {{ "Hello"|dictsort:"a" }} into a template and render it, it will raise TemplateSyntaxError with Caught VariableDoesNotExist while rendering: Failed lookup for key [a] in u'H'. It should fail silently.
Change History
(7)
Triage Stage: |
Unreviewed → Accepted
|
Cc: |
daniel.barreto.n@… added
|
Easy pickings: |
unset
|
Has patch: |
set
|
Owner: |
changed from nobody to Daniel Barreto
|
Status: |
new → assigned
|
UI/UX: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
adding a patch with some basic tests.