from flask import Blueprint bp = Blueprint('guides', __name__, url_prefix = '/guides/') @bp.get('/') def index(): return 'stub' @bp.get('/contact') def contact(): return 'stub'