done loan now

This commit is contained in:
2020-11-21 12:26:01 +11:00
parent cc99e2e98a
commit 151e006154

3
README
View File

@@ -23,10 +23,9 @@ python3 main.py
- saving a book with the ORM is probably the last oddity... probably time to try it (in a sense, the book edit page is the only time we change things, maybe we mess with that book-query as its too slow, and for book edit, if we don't allow editing items like author/publisher, then may only need to set the objects we want to change... I'm sort of curious can you save a book table based on id, without saging its author table, seems that should be okay, but how do I save both, just create 2 objects and do it, but what if the ORM has auto-connected bunches of stuff, how do I update the connected stuff.... MAYBE, I need to get say loan or something first, then try all this? (make a pop-up for stuff like loans, but what about series or sub-book editing????)
- should see if I can make the publisher, rating, covertype, condition, genre tables have generic .html files
- complete BookSchema(FlaskForm)
- use FlaskForm and newer technique in author.html (and the rest)
- consider getting rest of Book class connected, e.g. series, loan, etc.
- consider getting rest of Book class connected, e.g. series, etc.
### MAYBE, I should make this a self-contained docker instance, then its a copy of the DB and anything I break will be fixable
### next step is to rename genre_lst to genre, and maybe do similar to all _lst tables... then add genre.py in and get it to work