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:
3
main.py
3
main.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user