id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 18991 Allow the use of 'app_name.perm_name' in perms in templates Anssi Kääriäinen nobody "Now that we have smart if tag, it seems natural to look up permissions by {{{ {% if 'someapp.someperm' in perms %} Permission found! {% endif %} }}} In addition to feeling more natural to me, this has two additional benefits: - If is possible to look up permissions containing characters which aren't allowed by template variable resoultion: if perms.someapp.some-perm doesn't work for example. - The exact same syntax is likely to work in other template engines, too (think Jinja2). I have implemented this in https://github.com/akaariai/django/compare/perm_in_perms I hope to push this into 1.5." New feature closed Template system dev Normal fixed Unreviewed 1 0 0 0 0 0