From: Christopher Allan Webber Date: Fri, 20 Jan 2012 03:30:47 +0000 (-0600) Subject: import changeset into sql models X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=780fdd7bd6c88b55ee7058d8156a0d233d997236;p=mediagoblin.git import changeset into sql models --- diff --git a/mediagoblin/db/sql/models.py b/mediagoblin/db/sql/models.py index ed733aff..41b8b490 100644 --- a/mediagoblin/db/sql/models.py +++ b/mediagoblin/db/sql/models.py @@ -29,6 +29,13 @@ from mediagoblin.db.sql.extratypes import PathTupleWithSlashes from mediagoblin.db.sql.base import Base, DictReadAttrProxy from mediagoblin.db.mixin import UserMixin, MediaEntryMixin +# It's actually kind of annoying how sqlalchemy-migrate does this, if +# I understand it right, but whatever. Anyway, don't remove this :P +# +# We could do migration calls more manually instead of relying on +# this import-based meddling... +from migrate import changeset + class SimpleFieldAlias(object): """An alias for any field"""