Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasThoren committed May 5, 2015
1 parent 86cb9bb commit 4c8ef7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions realestate/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ def __init__(self, initial_date=None, until_date=None):

base = declarative_base()

try:
print os.environ.get('REAL_ESTATE_SERVER_ENGINE')
except Exception, error:
log.debug(error, exc_info=True)

engine = create_engine(os.environ.get('REAL_ESTATE_SERVER_ENGINE'))

base.metadata.create_all(engine)
Expand Down

0 comments on commit 4c8ef7b

Please sign in to comment.