Updated script files to run tests on load

This commit is contained in:
2024-01-12 14:55:52 +00:00
parent 6d91fe8095
commit f5a8cdcfa2
6 changed files with 30 additions and 6 deletions

View File

@ -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()