diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-03-29 22:31:51 +0200 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-03-29 23:23:57 +0200 |
commit | 19535af4e57b479642cbe6e08eb8e9590a996bf4 (patch) | |
tree | 490e57850918147a4fe3849b388bc82f3b5c4e37 /mediagoblin/db/sql/models_v0.py | |
parent | c0fddc63e883345f2d9308b2fc78459cc87dd9cb (diff) | |
download | mediagoblin-19535af4e57b479642cbe6e08eb8e9590a996bf4.tar.lz mediagoblin-19535af4e57b479642cbe6e08eb8e9590a996bf4.tar.xz mediagoblin-19535af4e57b479642cbe6e08eb8e9590a996bf4.zip |
Fix some simple errors.
Diffstat (limited to 'mediagoblin/db/sql/models_v0.py')
-rw-r--r-- | mediagoblin/db/sql/models_v0.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mediagoblin/db/sql/models_v0.py b/mediagoblin/db/sql/models_v0.py index c67129af..475d3f08 100644 --- a/mediagoblin/db/sql/models_v0.py +++ b/mediagoblin/db/sql/models_v0.py @@ -24,8 +24,9 @@ import sys from sqlalchemy import ( Column, Integer, Unicode, UnicodeText, DateTime, Boolean, ForeignKey, - UniqueConstraint, PrimaryKeyConstraint, SmallInteger) -from sqlalchemy.orm import relationship + UniqueConstraint, PrimaryKeyConstraint, SmallInteger, Float) +from sqlalchemy.ext.declarative import declarative_base +from sqlalchemy.orm import relationship, backref from sqlalchemy.orm.collections import attribute_mapped_collection from sqlalchemy.sql.expression import desc from sqlalchemy.ext.associationproxy import association_proxy |