Set default config value for app_package

This commit is contained in:
Lance Edgar 2023-01-25 17:29:16 -06:00
parent 8cc0e2755d
commit e4bd4953a4

View file

@ -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')