Fix setting key naming

This commit is contained in:
Khanh Ngo 2016-06-13 00:13:29 +07:00
parent 39564f9c6e
commit 729a5d0e9d

View File

@ -12,7 +12,7 @@ user_role = Role('User', 'User')
maintenance_setting = Setting('maintenance', 'False') maintenance_setting = Setting('maintenance', 'False')
fullscreen_layout_setting = Setting('fullscreen_layout', 'True') fullscreen_layout_setting = Setting('fullscreen_layout', 'True')
record_helper_setting = Setting('record_helper', 'True') record_helper_setting = Setting('record_helper', 'True')
default_table_size_setting = Setting('default_table_size', '15') default_table_size_setting = Setting('default_record_table_size', '15')
db.session.add(admin_role) db.session.add(admin_role)
db.session.add(user_role) db.session.add(user_role)
db.session.add(maintenance_setting) db.session.add(maintenance_setting)