diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-03-20 12:32:11 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-03-20 12:45:40 +0100 |
commit | 39fd817ab8c4745187e5e1992d2f2866de38e2c2 (patch) | |
tree | 7bfade89d75650d1f63de63319b29e49b4d0a7be /mediagoblin/media_types | |
parent | df7c405845e1fe6436083e7781abb3d1b178624f (diff) | |
download | mediagoblin-39fd817ab8c4745187e5e1992d2f2866de38e2c2.tar.lz mediagoblin-39fd817ab8c4745187e5e1992d2f2866de38e2c2.tar.xz mediagoblin-39fd817ab8c4745187e5e1992d2f2866de38e2c2.zip |
Import "Base" from base instead of models.
Import the "Base" class for models from db.sql.base instead
of db.sql.models.
Diffstat (limited to 'mediagoblin/media_types')
-rw-r--r-- | mediagoblin/media_types/ascii/models.py | 2 | ||||
-rw-r--r-- | mediagoblin/media_types/image/models.py | 2 | ||||
-rw-r--r-- | mediagoblin/media_types/video/models.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mediagoblin/media_types/ascii/models.py b/mediagoblin/media_types/ascii/models.py index 03907339..043a858a 100644 --- a/mediagoblin/media_types/ascii/models.py +++ b/mediagoblin/media_types/ascii/models.py @@ -15,7 +15,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -from mediagoblin.db.sql.models import Base +from mediagoblin.db.sql.base import Base from sqlalchemy import ( Column, Integer, Unicode, UnicodeText, DateTime, Boolean, ForeignKey, diff --git a/mediagoblin/media_types/image/models.py b/mediagoblin/media_types/image/models.py index f333cbb8..5b9edb50 100644 --- a/mediagoblin/media_types/image/models.py +++ b/mediagoblin/media_types/image/models.py @@ -1,4 +1,4 @@ -from mediagoblin.db.sql.models import Base +from mediagoblin.db.sql.base import Base from sqlalchemy import ( Column, Integer, Float, ForeignKey) diff --git a/mediagoblin/media_types/video/models.py b/mediagoblin/media_types/video/models.py index 0d064f5f..cf42b7c8 100644 --- a/mediagoblin/media_types/video/models.py +++ b/mediagoblin/media_types/video/models.py @@ -15,7 +15,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -from mediagoblin.db.sql.models import Base +from mediagoblin.db.sql.base import Base from sqlalchemy import ( Column, Integer, SmallInteger, ForeignKey) |