This website requires JavaScript.
Explore
Help
Sign In
ddp
/
books
Watch
1
Star
0
Fork
0
You've already forked books
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
14749de30337ccef012b513d3e4e1184693377c7
books
/
templates
History
Damien De Paoli
14749de303
okay, using ORM, the book_sub_book_link table is actually linked, it is also being used to force the ordering of the quert - although its probably not needed, as the datatables sort can do it by using sub_book_num and parent_id... Those values are still being put in by hand, so need to think about the parent_id bit... we need it to get the sorting to work. I think the sub_book_num would now be there in the normal book.dump() if I try to put it there -- would need to make sure the appropriate Schema is used of course
2020-11-08 19:53:05 +11:00
..
author.html
initial commit of book library in python with sqlalchemy (as an ORM), flask (for the web server) and jinja2 (as the web template front-end bit)
2020-11-03 18:29:41 +11:00
books.html
okay, using ORM, the book_sub_book_link table is actually linked, it is also being used to force the ordering of the quert - although its probably not needed, as the datatables sort can do it by using sub_book_num and parent_id... Those values are still being put in by hand, so need to think about the parent_id bit... we need it to get the sorting to work. I think the sub_book_num would now be there in the normal book.dump() if I try to put it there -- would need to make sure the appropriate Schema is used of course
2020-11-08 19:53:05 +11:00