From ae4fe47093c9b6e5229dffbe14dfb95d01fded65 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 2 Jul 2023 12:58:42 +1000 Subject: [PATCH] added removing direct sqls, also put a TODO in for adding a parent book to a series --- TODO | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/TODO b/TODO index 24f2f01..b798831 100644 --- a/TODO +++ b/TODO @@ -3,3 +3,15 @@ TODO: * need to use ORM for all bal, bsl, etc. seems to be causing race conditions and or 'timeouts' - sorting books on shelf. Up to Dune books --> is there an overarching series needed, and do it :) + + * if we add a new parent book with sub-books into a series, with parent * book as 'null' sub_book_num, all the sub_books should be added somehow into series - but cant input numbering on parent book, so + - don't allow adding parent, use a pop-up saying, add the first-child, and then auto-number from there + + * remove all non-ORM CRUD: + - grep 'insert into' *.py [DONE] + - grep 'delete from' *.py [DONE] + + * consider removing all direct sqls and using ORM properly: + - grep 'with db.engine' *.py + +