diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-07-11 17:21:02 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-07-11 17:25:02 +0200 |
commit | 4242aee2a4d120988ad2cbe84a5db6ac9d7bc9c6 (patch) | |
tree | 598aa87eb64c3e9474d3e1e73176cc3b8d32ab89 | |
parent | c5ba3b167fdba2654a7fafb9f90ccf19a54e193c (diff) |
Changed keyword argument in call to declarative_base().
-rw-r--r-- | db.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' |