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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/uploader/genotypes/views.py b/uploader/genotypes/views.py
index 4158491..d69dc28 100644
--- a/uploader/genotypes/views.py
+++ b/uploader/genotypes/views.py
@@ -7,6 +7,7 @@ from flask import (flash,
render_template,
current_app as app)
+from uploader.ui import make_template_renderer
from uploader.authorisation import require_login
from uploader.db_utils import database_connection
from uploader.species.models import all_species, species_by_id
@@ -20,6 +21,7 @@ from .models import (genotype_markers,
genocode_by_population)
genotypesbp = Blueprint("genotypes", __name__)
+render_template = make_template_renderer("genotypes")
@genotypesbp.route("populations/genotypes", methods=["GET"])
@require_login