Settings class now uses sequence, the DB sequence and table have been created and commented out a simple settings addition for now -- Beware it runs twice with Flask in DEV mode

This commit is contained in:
2021-01-10 13:41:36 +11:00
parent 53897a1351
commit 64d3e3e4cd
3 changed files with 13 additions and 4 deletions

View File

@@ -26,6 +26,9 @@ db = SQLAlchemy(app)
ma = Marshmallow(app)
Bootstrap(app)
################################# Now, import non-book classes ###################################
from settings import Settings
####################################### GLOBALS #######################################
# allow jinja2 to call these python functions directly