From 2681d11a9c39a3291db03521e5b7f73ed672533c Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Thu, 26 Nov 2020 00:04:22 +0300 Subject: register references blueprint --- wqflask/wqflask/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wqflask') 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 -- cgit v1.2.3