diff options
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") |