From 6b84c9708342716b5aabd015f42fb6b46088af19 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Fri, 2 Feb 2024 17:05:41 -0600 Subject: Fix bluepring registering --- src/controllers/dashboard_controller.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/controllers/dashboard_controller.py') 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(): -- cgit v1.2.3