|
|
150b808bb5
|
completed: TODO-26 --> gunicorn now works
|
2021-01-09 23:42:51 +11:00 |
|
|
|
af6c76d136
|
improved DB error handling
|
2020-12-30 23:12:36 +11:00 |
|
|
|
c367a2559f
|
create/update/delete of condition, covertype, genre, owned, rating objects all works, and can be accessed from Admin menu
|
2020-12-05 11:45:47 +11:00 |
|
|
|
5057e856be
|
now have a class to maintain the status, use that to set alert/message for owned, and redirect after create/update/delete owned -> owneds
|
2020-12-05 11:00:53 +11:00 |
|
|
|
d61e830525
|
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
|
2020-12-04 18:59:34 +11:00 |
|
|
|
ed07d1f9cb
|
decided to use thing/-1 to create a new thing. Tried it on owned first, works so now also can delete owned/<id> as well. Also made sure not to show the delete button when we are only creating a thing
|
2020-12-04 18:01:54 +11:00 |
|
|
|
9466e61db9
|
moved to using a Get*ById() in condition, covertype, owned files and exposing them in jinja and using them in books.html to fix-up the fact those columns were now raw forein keys (ids)
|
2020-11-22 00:23:18 +11:00 |
|
|
|
296ef4c1f7
|
renamed id_name_form to edit_id_name, then made show_id_name and used it for all appropriate classes. Shaved about 150 LOC / removed 5 x duplication of code :)
|
2020-11-18 12:30:23 +11:00 |
|
|
|
3f33e7f10d
|
cleaned up Form->FlaskForm, for both import line and class *Form(FlaskForm)
|
2020-11-18 12:12:36 +11:00 |
|
|
|
5f46636298
|
created generic id_name_form.html and made condition, covertype, genre, owned, publisher & rating use it for single edit page
|
2020-11-18 12:09:02 +11:00 |
|
Damien De Paoli
|
9544790ffa
|
removed all old *_lst tables, added corresponding new classes, etc. fro covertype, owned, rating, and dropped tables from DB, etc. Updated base.html to use new tables as drop-downs that are set correctly. So far slight hack on BookForm, will finish that after syncing this all back to mara. If I do the sync, and export/import this version of DB, then the fixes.sql and fix_db() code included in main.py can be removed. Finally, lamely added a favicon and a static/ to support it
|
2020-11-17 21:22:15 +11:00 |
|