husstanden/filters.py

8 lines
195 B
Python
Raw Normal View History

from flask import render_template
from objects import glob
"""
@glob.app.template_filter('load_module')
def load_module(module_name):
return render_template("modules/%s.html" % module_name)
"""