flask-blueprint-template/blueprint.py
2025-02-09 12:59:20 +01:00

7 lines
147 B
Python
Executable file

from flask import Blueprint
blueprint = Blueprint('blueprint', __name__)
@blueprint.route('/')
def home():
return "<p>Hello, Blueprint!</p>"