@register.inclusion_tag('<STR_LIT>')<EOL>def fa_icon(message_type):
return {<EOL>'<STR_LIT>': MESSAGE_ICONS.get(message_type, '<STR_LIT>'.format(message_type))<EOL>}<EOL>
Django template tag that returns font awesome icon depending upon message type.

Usage:
    {% fa_icon "success" %}