diff options
author | Frederick Muriuki Muriithi | 2024-09-13 09:18:18 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-13 10:40:30 -0500 |
commit | 36fc8996fa830078866e17aab7d9c177c74c835b (patch) | |
tree | 2cb62c2d5fee89c0c922475a304beb8e8f201122 /uploader/population/views.py | |
parent | 2f1279b5e45dfff972fa6462d94a0b93b6a1144f (diff) | |
download | gn-uploader-36fc8996fa830078866e17aab7d9c177c74c835b.tar.gz |
Initialise genotypes' UI
Diffstat (limited to 'uploader/population/views.py')
-rw-r--r-- | uploader/population/views.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/uploader/population/views.py b/uploader/population/views.py index 003787a..e870c85 100644 --- a/uploader/population/views.py +++ b/uploader/population/views.py @@ -10,10 +10,11 @@ from flask import (flash, Blueprint, current_app as app) +from uploader.samples.views import samplesbp from uploader.ui import make_template_renderer from uploader.authorisation import require_login from uploader.db_utils import database_connection -from uploader.samples.views import samplesbp +from uploader.genotypes.views import genotypesbp from uploader.species.models import (all_species, species_by_id, order_species_by_family) @@ -27,6 +28,7 @@ from .models import (save_population, __active_link__ = "populations" popbp = Blueprint("populations", __name__) popbp.register_blueprint(samplesbp, url_prefix="/") +popbp.register_blueprint(genotypesbp, url_prefix="/") render_template = make_template_renderer("populations") |