aboutsummaryrefslogtreecommitdiff
path: root/uploader/species
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-23 16:29:25 -0500
committerFrederick Muriuki Muriithi2024-09-23 16:35:39 -0500
commit480ee0b657b762f1dd0b1164f98ab13bc9a11f56 (patch)
tree28c7e8e450112039bb764a6fe967838369aba937 /uploader/species
parent4285cc10e24d6410206329ba079406e9aa21cc30 (diff)
downloadgn-uploader-480ee0b657b762f1dd0b1164f98ab13bc9a11f56.tar.gz
Initialise "Platforms" section.
Diffstat (limited to 'uploader/species')
-rw-r--r--uploader/species/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/uploader/species/views.py b/uploader/species/views.py
index f478505..10715a5 100644
--- a/uploader/species/views.py
+++ b/uploader/species/views.py
@@ -8,6 +8,7 @@ from flask import (flash,
current_app as app)
from uploader.population import popbp
+from uploader.platforms import platformsbp
from uploader.ui import make_template_renderer
from uploader.db_utils import database_connection
from uploader.oauth2.client import oauth2_get, oauth2_post
@@ -23,6 +24,7 @@ from .models import (all_species,
speciesbp = Blueprint("species", __name__)
speciesbp.register_blueprint(popbp, url_prefix="/")
+speciesbp.register_blueprint(platformsbp, url_prefix="/")
render_template = make_template_renderer("species")