Changeset 5c3a959 in rattail-demo


Ignore:
Timestamp:
07/09/19 17:34:03 (5 months ago)
Author:
Lance Edgar <ledgar@…>
Branches:
master
Children:
db70870
Parents:
e4620c8
Message:

Remove CORE-POS web views logic

all the views are still visible in our app, but the view logic belongs in
tailbone-corepos now

Files:
11 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • rattail_demo/web/app.py

    re4620c8 r5c3a959  
    77
    88from tailbone import app
    9 
    10 from rattail_demo.web.db import CoreSession, CoreTransSession
     9from tailbone_corepos.db import CoreOfficeSession, CoreTransSession
    1110
    1211
     
    2726
    2827    # configure database sessions
    29     CoreSession.configure(bind=rattail_config.corepos_engine)
     28    CoreOfficeSession.configure(bind=rattail_config.corepos_engine)
    3029    CoreTransSession.configure(bind=rattail_config.coretrans_engine)
    3130
  • rattail_demo/web/views/__init__.py

    re4620c8 r5c3a959  
    3838
    3939    # core-pos views
    40     config.include('rattail_demo.web.views.corepos')
     40    config.include('tailbone_corepos.views.corepos')
    4141
    4242    # batch views
  • rattail_demo/web/views/common.py

    re4620c8 r5c3a959  
    1717
    1818    def get_packages(self):
     19        import corepos._version
     20        import rattail_corepos
    1921        import rattail_tempmon
     22        import tailbone_corepos
    2023
    2124        packages = super(CommonView, self).get_packages()
     25        packages['pyCOREPOS'] = corepos._version.__version__
     26        packages['rattail-corepos'] = rattail_corepos.__version__
    2227        packages['rattail-tempmon'] = rattail_tempmon.__version__
     28        packages['tailbone_corepos'] = tailbone_corepos.__version__
    2329        for key in packages:
    2430            packages[key] = packages[key] + '+dev'
  • setup.py

    re4620c8 r5c3a959  
    5252    'rattail-corepos',                  # 0.1.0
    5353    'Tailbone',                         # 0.5.49
     54    'tailbone-corepos',                 # 0.1.0
    5455    'xlrd',                             # 1.0.0
    5556]
Note: See TracChangeset for help on using the changeset viewer.