from flask import render_template, request, Blueprint

core = Blueprint('core', __name__)


@core.route("/", methods=['GET', 'POST'])
def home():
    return render_template('home.html')


@core.route("/about")
def about():
    return render_template('about.html')


@core.route('/search', methods=['GET', 'POST'])
def search():
    search_str = request.args.get('globalsearch')
    return render_template('search.html', search_str=search_str)

[((3, 7, 3, 34), 'flask.Blueprint', 'Blueprint', ({(3, 17, 3, 23): '"""core"""', (3, 25, 3, 33): '__name__'}, {}), "('core', __name__)", False, 'from flask import render_template, request, Blueprint\n'), ((8, 11, 8, 39), 'flask.render_template', 'render_template', ({(8, 27, 8, 38): '"""home.html"""'}, {}), "('home.html')", False, 'from flask import render_template, request, Blueprint\n'), ((13, 11, 13, 40), 'flask.render_template', 'render_template', ({(13, 27, 13, 39): '"""about.html"""'}, {}), "('about.html')", False, 'from flask import render_template, request, Blueprint\n'), ((18, 17, 18, 49), 'flask.request.args.get', 'request.args.get', ({(18, 34, 18, 48): '"""globalsearch"""'}, {}), "('globalsearch')", False, 'from flask import render_template, request, Blueprint\n'), ((19, 11, 19, 64), 'flask.render_template', 'render_template', (), '', False, 'from flask import render_template, request, Blueprint\n')]