flatten the contributions blueprint

This commit is contained in:
Patrick Jentsch committed 2024-11-14 14:36:18 +01:00
1 parent ce253f4a65
commit 6aacac2419
27 files changed
+210 -51

No files matched your search

@@ -0,0 +1,18 @@
from flask import Blueprint
from flask_login import login_required
bp = Blueprint('transkribus_htr_pipeline_models', __name__)
@bp.before_request
@login_required
def before_request():
'''
Ensures that the routes in this package can only be visited by users that
are logged in.
'''
pass
from . import routes
@@ -0,0 +1,7 @@
from flask import abort
from . import bp
@bp.route('/transkribus_htr_pipeline_models')
def index():
return abort(503)