source: rattail-demo/rattail_demo/web/db.py @ e20a9b8

Last change on this file since e20a9b8 was e20a9b8, checked in by Lance Edgar <lance@…>, 14 months ago

Add basic CORE-POS table views

  • Property mode set to 100644
File size: 296 bytes
Line 
1# -*- coding: utf-8; -*-
2"""
3Web Database Sessions
4"""
5
6from sqlalchemy.orm import sessionmaker, scoped_session
7from zope.sqlalchemy import register
8
9
10CoreSession = scoped_session(sessionmaker())
11register(CoreSession)
12
13CoreTransSession = scoped_session(sessionmaker())
14register(CoreTransSession)
Note: See TracBrowser for help on using the repository browser.