Source

Ochs / annoying / templatetags / annoying.py

1
2
3
4
5
6
7
8
from django import template

from smart_if import smart_if


register = template.Library()

register.tag('if', smart_if)