Updated script files to run tests on load
This commit is contained in:
@ -6,6 +6,7 @@ from controllers.database.category import CategoryController
|
||||
|
||||
blueprint = Blueprint("products", __name__, url_prefix="/products")
|
||||
|
||||
# Context store for the categories to have them on every page
|
||||
@blueprint.context_processor
|
||||
def category_list():
|
||||
database = CategoryController()
|
||||
|
Reference in New Issue
Block a user