mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-15 02:20:40 +00:00
Prototype Query Builder for demo only
This commit is contained in:
5
app/test/__init__.py
Normal file
5
app/test/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
from flask import Blueprint
|
||||
|
||||
|
||||
bp = Blueprint('test', __name__)
|
||||
from . import routes
|
10
app/test/routes.py
Normal file
10
app/test/routes.py
Normal file
@ -0,0 +1,10 @@
|
||||
from flask import render_template
|
||||
from flask_login import login_required
|
||||
from app.models import Corpus, CorpusFile, CorpusStatus
|
||||
from . import bp
|
||||
import os
|
||||
|
||||
@bp.route('')
|
||||
@login_required
|
||||
def test():
|
||||
return render_template('test/analyse_corpus.html.j2', title="Test")
|
Reference in New Issue
Block a user