Remove CORE-POS web views logic
all the views are still visible in our app, but the view logic belongs in tailbone-corepos now
This commit is contained in:
parent
e4620c8670
commit
5c3a95915b
15 changed files with 10 additions and 599 deletions
|
@ -6,8 +6,7 @@ Pyramid web application
|
|||
from __future__ import unicode_literals, absolute_import
|
||||
|
||||
from tailbone import app
|
||||
|
||||
from rattail_demo.web.db import CoreSession, CoreTransSession
|
||||
from tailbone_corepos.db import CoreOfficeSession, CoreTransSession
|
||||
|
||||
|
||||
def main(global_config, **settings):
|
||||
|
@ -26,7 +25,7 @@ def main(global_config, **settings):
|
|||
pyramid_config = app.make_pyramid_config(settings)
|
||||
|
||||
# configure database sessions
|
||||
CoreSession.configure(bind=rattail_config.corepos_engine)
|
||||
CoreOfficeSession.configure(bind=rattail_config.corepos_engine)
|
||||
CoreTransSession.configure(bind=rattail_config.coretrans_engine)
|
||||
|
||||
# bring in rest of rattail-demo etc.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue