<reponame>spothero/coffin<filename>tests/res/apps/templatelibs_app/templatetags/django_library.py
"""Register a filter with a Django library object.
"""

def foo(value):
    return "{foo}"

from django.template import Library
register = Library()
register.filter('foo_django', foo)
"""Register a filter with a Django library object.
"""

def foo(value):
    return "{foo}"

from django.template import Library
register = Library()
register.filter('foo_django', foo)
Register a filter with a Django library object.