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, 'flask.Blueprint', 'Blueprint', False, 'from flask import render_template, request, Blueprint\n'), (8, 'flask.render_template', 'render_template', False, 'from flask import render_template, request, Blueprint\n'), (13, 'flask.render_template', 'render_template', False, 'from flask import render_template, request, Blueprint\n'), (18, 'flask.request.args.get', 'request.args.get', False, 'from flask import render_template, request, Blueprint\n'), (19, 'flask.render_template', 'render_template', False, 'from flask import render_template, request, Blueprint\n')]