calibre-web/lib/flask/testsuite/test_apps/blueprintapp/__init__.py

8 lines
200 B
Python
Raw Normal View History

from flask import Flask
app = Flask(__name__)
from blueprintapp.apps.admin import admin
from blueprintapp.apps.frontend import frontend
app.register_blueprint(admin)
app.register_blueprint(frontend)