#26095: Same behaviour of dict.items and defaultdict.items in DTL
-------------------------------------+-------------------------------------
Reporter: kbr | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Template system | Version: master
Severity: Normal | Keywords: templates dict
| defaultdict
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Recently I've struggled over the defaultdict-issue mentioned here
[https://docs.djangoproject.com/en/1.9/ref/templates/language/#variables].
In my opinion it may be more intuitive if dictionaries and defaultdicts
behave the same (as in plain Python).
--
Ticket URL: <https://code.djangoproject.com/ticket/26095>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/046.4a9cf5bbee2f9cefa7a7122ec10a9bb8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.