# HG changeset patch # User Thierry Florac # Date 1435738461 -7200 # Node ID 41d8e2491ec9c017acb14c4eab67a7fe71ddfc83 # Parent 39cc33c77acb50e71d0eede674f94cc7dbb6a452 Added declarative base diff -r 39cc33c77acb -r 41d8e2491ec9 src/pyams_alchemy/__init__.py --- a/src/pyams_alchemy/__init__.py Wed Jun 17 09:54:54 2015 +0200 +++ b/src/pyams_alchemy/__init__.py Wed Jul 01 10:14:21 2015 +0200 @@ -17,6 +17,10 @@ _ = TranslationStringFactory('pyams_alchemy') +from sqlalchemy.ext.declarative import declarative_base +Base = declarative_base() + + def includeme(config): """Pyramid include"""