Changeset - e76aa9a966ca
[Not reviewed]
0 1 0
Lance Edgar - 5 years ago 2019-10-10 20:13:39
lance@edbob.org
Change the sections used for corepos db config
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general) First comment
rattail_corepos/config.py
Show inline comments
 
@@ -40,12 +40,12 @@ class RattailCOREPOSExtension(ConfigExtension):
 
        from corepos.db import Session as CoreSession
 
        from corepos.trans.db import Session as CoreTransSession
 

	
 
        engines = get_engines(config, section='rattail_corepos.db')
 
        engines = get_engines(config, section='corepos.db.office_op')
 
        config.corepos_engines = engines
 
        config.corepos_engine = engines.get('default')
 
        CoreSession.configure(bind=config.corepos_engine)
 

	
 
        engines = get_engines(config, section='rattail_coretrans.db')
 
        engines = get_engines(config, section='corepos.db.office_trans')
 
        config.coretrans_engines = engines
 
        config.coretrans_engine = engines.get('default')
 
        CoreTransSession.configure(bind=config.coretrans_engine)
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now