mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-15 10:30:40 +00:00
Move cli interface code in package
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
from flask import Blueprint
|
||||
|
||||
|
||||
bp = Blueprint('main', __name__)
|
||||
bp = Blueprint('main', __name__, cli_group=None)
|
||||
from . import routes
|
||||
|
@ -7,7 +7,7 @@ from sqlalchemy import or_
|
||||
from . import bp
|
||||
|
||||
|
||||
@bp.route('', methods=['GET', 'POST'])
|
||||
@bp.route('/', methods=['GET', 'POST'])
|
||||
@register_breadcrumb(bp, '.', '<i class="material-icons">home</i>')
|
||||
def index():
|
||||
form = LoginForm()
|
||||
|
Reference in New Issue
Block a user