cleaned up ORM notes
This commit is contained in:
4
README
4
README
@@ -25,9 +25,6 @@ python3 main.py
|
|||||||
|
|
||||||
|
|
||||||
### TODO:
|
### TODO:
|
||||||
- ORM: okay, could have child and parent references in book, would that remove need for hand-sql of subs?
|
|
||||||
* see code for subbooks_for_book ('parent')...
|
|
||||||
* if so, book.html has books (from schema.dump(book), could just be book with parent/child?)
|
|
||||||
- need to save a book
|
- need to save a book
|
||||||
- need to create all classes (green + button)
|
- need to create all classes (green + button)
|
||||||
- need to delete all classes (and watch for referential integrity)
|
- need to delete all classes (and watch for referential integrity)
|
||||||
@@ -35,6 +32,7 @@ python3 main.py
|
|||||||
- add stats page
|
- add stats page
|
||||||
- show books on shelf list
|
- show books on shelf list
|
||||||
- show books to buy view / printable
|
- show books to buy view / printable
|
||||||
|
- with ORM: do I to lazy load all books (ajax the 2nd->last pages in, or not use ORM, and do a quick db.execute()....)
|
||||||
|
|
||||||
|
|
||||||
### MAYBE:
|
### MAYBE:
|
||||||
|
|||||||
Reference in New Issue
Block a user