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 2016 [patch] Decorator for template tags that load objects jason@… nobody "The django.template module includes two convenient decorators for making certain common template tags, simple_tag for inserting strings and inclusion_tag for including other templates. Another common idiom is loading an object into the template. For example: {{{ {% get_recent_articles 4 as recent_articles %} }}} This patch includes an object_tag decorator that makes this kind of tag easy. I'm new to Django and don't know how this fits in with the refactoring going on now, but I found it quite useful." enhancement closed Template system normal fixed Accepted 1 0 0 0 0 0