Open SchnitzelKopf opened 1 year ago
The problem comes from flask_bootstrap/templates/base/table.html
:
https://github.com/helloflask/bootstrap-flask/blob/dc0b91ec229d3562bde1e63625a0bbfc9e415fa3/flask_bootstrap/templates/base/table.html#L79-L83
In your case, you have key = 'product.name'
and in Jinja2 row['product.name']
is not resolved as intended.
Hi,
I am unable to access product.name in my html. When using the "for item loop" I am able to print item.product.name. However in titles when using product.name it will remain empty. Typing only 'product' will correctly display <Product 1>.
What am I doing wrong?
app.py
Log:
html:
model: