now create an owned on /owned, rather than /owned/-1 kludge. Also using sequence for creation. All good - made sequences for all relevant tables too. Last question is how to do redirect to /owneds and still show messsage

This commit is contained in:
2020-12-04 18:59:34 +11:00
parent ed07d1f9cb
commit d61e830525
4 changed files with 27 additions and 22 deletions

3
README
View File

@@ -25,6 +25,8 @@ python3 main.py
### TODO:
-- Without redirects (after creation) the potential for reload's trying to re-add objects may suck...
-> see if I can see how to pass alert/message through to /owneds somehow ... if I can even pass a global or some shit then pick it up in the python code?
- need to create all classes (green + button)
- need to delete all classes (and watch for referential integrity)
- need to add 1 author to book, book to sub_book, series
@@ -41,4 +43,3 @@ python3 main.py
when moving a book in a series (which is part of 2 series), do we pop-up
offer to move parent/child series orders as well to match (think Thomas Covenant)
try to "export" db from sqlalchemy to see what it is doing with sequences / primary key for owned table and maybe "new_id" not needed?