From 4242aee2a4d120988ad2cbe84a5db6ac9d7bc9c6 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 11 Jul 2010 17:21:02 +0200 Subject: Changed keyword argument in call to declarative_base(). --- db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.py b/db.py index 1c76ad2..5ccc336 100644 --- a/db.py +++ b/db.py @@ -5,7 +5,7 @@ import settings engine = create_engine(settings.db_path) -Base = declarative_base(engine = engine) +Base = declarative_base(bind = engine) class Paste(Base): __tablename__ = 'paste' -- cgit v1.2.3