mirror of
https://git.wownero.com/wownero/wownero-funding-system.git
synced 2024-08-15 00:53:45 +00:00
aeonfunding update for wownero
a lot more generic; a lot more configurable; UI goodness with accounting; wallet account support for ezmode
This commit is contained in:
parent
f473a4234e
commit
955de2544e
19 changed files with 361 additions and 173 deletions
|
@ -8,11 +8,11 @@ import settings
|
|||
|
||||
|
||||
def create_session():
|
||||
from wowfunding.orm.orm import base
|
||||
from funding.orm.orm import base
|
||||
engine = sa.create_engine(settings.SQLALCHEMY_DATABASE_URI, echo=False, encoding="latin")
|
||||
session = scoped_session(sessionmaker(autocommit=False,
|
||||
autoflush=False,
|
||||
bind=engine))
|
||||
base.query = session.query_property()
|
||||
base.metadata.create_all(bind=engine)
|
||||
return session
|
||||
return session
|
Loading…
Add table
Add a link
Reference in a new issue