From 2e12c23648be1b6827f1717ca143359d29043a39 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 6 Jul 2022 10:19:49 +0300 Subject: Implement UI for dataset selection As part of updating the database with the new data, there is a need to select the appropriate dataset that the data belongs to, and this commit provides the UI to assist the user do that. --- qc_app/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qc_app/__init__.py') diff --git a/qc_app/__init__.py b/qc_app/__init__.py index 08b56c9..6b760b9 100644 --- a/qc_app/__init__.py +++ b/qc_app/__init__.py @@ -6,6 +6,7 @@ from flask import Flask from .entry import entrybp from .parse import parsebp +from .dbinsert import dbinsertbp def instance_path(): """Retrieve the `instance_path`. Raise an exception if not defined.""" @@ -27,4 +28,5 @@ def create_app(instance_dir): # setup blueprints app.register_blueprint(entrybp, url_prefix="/") app.register_blueprint(parsebp, url_prefix="/parse") + app.register_blueprint(dbinsertbp, url_prefix="/dbinsert") return app -- cgit v1.2.3