Set default config value for app_package
This commit is contained in:
parent
8cc0e2755d
commit
e4bd4953a4
|
@ -35,8 +35,9 @@ class TheoConfig(ConfigExtension):
|
||||||
|
|
||||||
def configure(self, config):
|
def configure(self, config):
|
||||||
|
|
||||||
# call the app "Theo" by default
|
# this is the "Theo" app
|
||||||
config.setdefault('rattail', 'app_title', "Theo")
|
config.setdefault('rattail', 'app_title', "Theo")
|
||||||
|
config.setdefault('rattail', 'app_package', 'theo')
|
||||||
|
|
||||||
# Trainwreck model is same regardless of POS
|
# Trainwreck model is same regardless of POS
|
||||||
config.setdefault('rattail.trainwreck', 'model', 'rattail.trainwreck.db.model.defaults')
|
config.setdefault('rattail.trainwreck', 'model', 'rattail.trainwreck.db.model.defaults')
|
||||||
|
|
Loading…
Reference in a new issue