first pass at creating a book, it works, but I have messed up the series-div* html in book.html

This commit is contained in:
2020-12-23 12:53:27 +11:00
parent 7bd81d3119
commit 73001dd24c
5 changed files with 109 additions and 36 deletions

8
README
View File

@@ -31,13 +31,13 @@ python3 main.py
### TODO:
- when remove a Parent book from a series, what do we do?
(remove all sub books from series too?)
- need to add book to sub_book
- need to delete 1 book from sub_book
- need to create loan
- need to add sub_book to parent book
** okay, tried to overload /book/<id> .. too hard, need to overload /book if anything... so add_sub button needs to call different URL, and then maybe this would work? ( if parent, then show extra bit AND, if parent, add the sub_book_link when adding new book???
- need to delete 1 sub_book from book
- need to add books to loan (on loan page, and via a book search?)
- need to delete book from loan
- need to delete loan
- need to delete all classes (and watch for referential integrity)
* book, condition, covertype, genre, loan
- show books on shelf list
- show books to buy view / printable
- with ORM: should I lazy load all books (ajax the 2nd->last pages in, or not use ORM, and do a quick db.execute()....)