summaryrefslogtreecommitdiff
path: root/src/controllers/dashboard_controller.py
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2024-02-02 17:05:41 -0600
committerHombreLaser <sebastian-440@live.com>2024-02-02 17:05:41 -0600
commit6b84c9708342716b5aabd015f42fb6b46088af19 (patch)
treee917e6eb7860afb240b4f0686a3cb6f830ac49f4 /src/controllers/dashboard_controller.py
parent0655cb74a5b76a99811a905060200e8a80e8590e (diff)
Fix bluepring registering
Diffstat (limited to 'src/controllers/dashboard_controller.py')
-rw-r--r--src/controllers/dashboard_controller.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/controllers/dashboard_controller.py b/src/controllers/dashboard_controller.py
index 888e388..bef7441 100644
--- a/src/controllers/dashboard_controller.py
+++ b/src/controllers/dashboard_controller.py
@@ -1,6 +1,8 @@
from flask import Blueprint
-from src.controllers import dashboard_blueprint
-from src.database.models.blog import Blog
+from src.database.models import Blog
+
+dashboard_blueprint = Blueprint('dashboard_controller',
+ '__dashboard_controller__')
@dashboard_blueprint.get('/dashboard')
def index():