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) """