<filename>views.py<gh_stars>1-10
from flask import Blueprint

index_blueprint = Blueprint('index_blueprint', __name__)


@index_blueprint.route('/index/')
def index():
    return 'This is flask blueprint example'

<filename>views.py<gh_stars>1-10
from flask import Blueprint

index_blueprint = Blueprint('index_blueprint', __name__)


@index_blueprint.route('/index/')
def index():
    return 'This is flask blueprint example'
