Moved some products to different categories to test views
This commit is contained in:
@ -6,6 +6,8 @@ from controllers.database.category import CategoryController
|
||||
|
||||
blueprint = Blueprint("products", __name__, url_prefix="/products")
|
||||
|
||||
# Global context to enable the categories to be accessed
|
||||
# from any view
|
||||
@blueprint.context_processor
|
||||
def category_list():
|
||||
database = CategoryController()
|
||||
|
Reference in New Issue
Block a user