aboutsummaryrefslogtreecommitdiff
path: root/uploader/population
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/population')
-rw-r--r--uploader/population/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/uploader/population/views.py b/uploader/population/views.py
index 5be19ae..003787a 100644
--- a/uploader/population/views.py
+++ b/uploader/population/views.py
@@ -13,6 +13,7 @@ from flask import (flash,
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.species.models import (all_species,
species_by_id,
order_species_by_family)
@@ -25,6 +26,7 @@ from .models import (save_population,
__active_link__ = "populations"
popbp = Blueprint("populations", __name__)
+popbp.register_blueprint(samplesbp, url_prefix="/")
render_template = make_template_renderer("populations")