#10 Added Product section to admin page
This commit is contained in:
@@ -46,6 +46,8 @@ def products():
|
||||
db = ProductController()
|
||||
products = db.read_all()
|
||||
|
||||
print(len(products))
|
||||
|
||||
return render_template(
|
||||
"index.html",
|
||||
content="admin.html",
|
||||
|
||||
Reference in New Issue
Block a user