aboutsummaryrefslogtreecommitdiff
path: root/uploader/genotypes/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/genotypes/views.py')
-rw-r--r--uploader/genotypes/views.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/uploader/genotypes/views.py b/uploader/genotypes/views.py
new file mode 100644
index 0000000..2b4ed10
--- /dev/null
+++ b/uploader/genotypes/views.py
@@ -0,0 +1,12 @@
+"""Views for the genotypes."""
+from flask import Blueprint, render_template
+
+from uploader.authorisation import require_login
+
+genotypesbp = Blueprint("genotypes", __name__)
+
+@genotypesbp.route("/genotypes")
+@require_login
+def index():
+ """Direct entry-point for genotypes."""
+ return render_template("genotypes/index.html")