#10 Added Product section to admin page

This commit is contained in:
2024-02-14 16:46:30 +00:00
parent 45d2773f9a
commit d6f7b3e549
7 changed files with 90 additions and 8 deletions

View File

@@ -46,6 +46,8 @@ def products():
db = ProductController()
products = db.read_all()
print(len(products))
return render_template(
"index.html",
content="admin.html",