how about moving a problem to Python scope? and import one Python function into another as follows:
in your_jinja_templatetags.py
from some_django_templatetags import somefilter as base_somefilter @library.filter def somefilter(value): return base_somefilter(value)
source share