from flask import Blueprint, render_template editor = Blueprint( name='editor', import_name=__name__, template_folder='templates', static_folder='static' ) @editor.route('/') def _editor(): return render_template('/editor/index.html')