aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabui2020-11-26 00:04:22 +0300
committerAlexander Kabui2020-11-26 00:04:22 +0300
commit2681d11a9c39a3291db03521e5b7f73ed672533c (patch)
treec11710609c7803b36c20dca71280d0812b9a6362
parent60447282a0f0063513ab10251945df3ab2c2dbfd (diff)
downloadgenenetwork2-2681d11a9c39a3291db03521e5b7f73ed672533c.tar.gz
register references blueprint
-rw-r--r--wqflask/wqflask/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/wqflask/__init__.py b/wqflask/wqflask/__init__.py
index 874cde17..39a36fa3 100644
--- a/wqflask/wqflask/__init__.py
+++ b/wqflask/wqflask/__init__.py
@@ -7,6 +7,7 @@ from flask import g
from flask import Flask
from utility import formatting
from wqflask.markdown_routes import glossary_blueprint
+from wqflask.markdown_routes import references_blueprint
app = Flask(__name__)
@@ -19,6 +20,7 @@ app.jinja_env.globals.update(
# Registering blueprints
app.register_blueprint(glossary_blueprint, url_prefix="/glossary")
+app.register_blueprint(references_blueprint,url_prefix="/references")
@app.before_request
def before_request():
@@ -39,4 +41,4 @@ from wqflask import db_info
from wqflask import user_login
from wqflask import user_session
-import wqflask.views
+import wqflask.views