#18865 closed defect (fixed)
dojox/dtl render change
Reported by: | pinguxx | Owned by: | Neil Roberts |
---|---|---|---|
Priority: | undecided | Milestone: | 1.12 |
Component: | DojoX DTL | Version: | 1.11.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I use django template for a lot of my widgets i notice this change on dojox/dtl/tag/logic.js, line 137 from arred.push(items[key]); to arred.push([key, items[key]]);
all the places that i have loops are now broken since im referencing the first parameter and its no longer the object
example code
{% for successmsg in success.messages %} <span data-alerts-id="{{successmsg.id}}{{successmsg.message|safe}}</span> {% endfor %}
Change History (8)
comment:1 Changed 5 years ago by
comment:2 Changed 5 years ago by
well, can this be (object, key), so it doesn't break backwards compatibility?
Note: See
TracTickets for help on using
tickets.
Yes, https://github.com/dojo/dojox/commit/1dcf38ea5f15079355ac20df0b372753da9dd6bc was made to fix #17251 . The change was made to increase compatibility with the Django template system.