<filename>auxiliary/templatetags/hashtag.py
from django import template
register = template.Library()

@register.filter
def hash(h, key):
    return h[key]

<filename>auxiliary/templatetags/hashtag.py
from django import template
register = template.Library()

@register.filter
def hash(h, key):
    return h[key]
