<gh_stars>0
# coding=utf-8
from django.template import Library
register = Library()

@register.filter
def get_url(dictionary, key):
    return dictionary[key]['urls']['regular']

@register.filter
def get_html(dictionary, key):
    return dictionary[key]['user']['links']['html']

@register.filter
def get_name(dictionary, key):
    return dictionary[key]['user']['name']
# coding=utf-8
from django.template import Library
register = Library()

@register.filter
def get_url(dictionary, key):
    return dictionary[key]['urls']['regular']

@register.filter
def get_html(dictionary, key):
    return dictionary[key]['user']['links']['html']

@register.filter
def get_name(dictionary, key):
    return dictionary[key]['user']['name']
# coding=utf-8