Keeping flask-marshmallow as its too hard to do my own objects, due to SqlAlchemy using its own list that is not iterable, etc. Added Genre, ALSO, beware table names with an underscore are messed with, and should be explictly defined - found out this the hard way with genre_lst
This commit is contained in:
@@ -73,6 +73,7 @@
|
||||
</form>
|
||||
</div class="row">
|
||||
</div class="container">
|
||||
{{books.genre}}
|
||||
{% if books.sub_book is defined %}
|
||||
<p>sub_book is defined: {{books.sub_book}}</p>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user