Commit de907cd9 authored by Administrator's avatar Administrator

[FIX] User change for gargandb.

parent f5f55811
...@@ -25,7 +25,7 @@ def get_session(): ...@@ -25,7 +25,7 @@ def get_session():
from aldjemy.core import get_engine from aldjemy.core import get_engine
alias = 'default' alias = 'default'
connection = connections[alias] connection = connections[alias]
engine = create_engine("postgresql+psycopg2://alexandre:C8kdcUrAQy66U@localhost/gargandb", engine = create_engine("postgresql+psycopg2://gargantua:C8kdcUrAQy66U@localhost/gargandb",
use_native_hstore=True) use_native_hstore=True)
Session = sessionmaker(bind=engine) Session = sessionmaker(bind=engine)
return Session() return Session()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment