-
-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
render_table() without SQLAlchemy not working #242
Comments
Please see #243 |
Works perfect! |
Could it be there is a similar simple solution for using the action buttons? When I use |
Sounds like SQLAlchemy is needed for that, or you need your class to implement that. See base/table.html line 11. |
Thnx for the suggestion. I'll consider my options :) Great work anyhow. |
For render_table(), the documentation states: data – An iterable of data objects to render. Can be dicts or class objects.
When I try using this macro on a simple test list, I get an error:
AttributeError: 'Item' object has no attribute '__table__'
.It seems that SQLAlchemy is supposed to supply objects with
__table__
. All examples I've found use SQLAlchemy.This is the test list:
Is using SQLAlchemy a requirement? If so, is the documentation correct?
The text was updated successfully, but these errors were encountered: