Import "Base" from base instead of models.

Import the "Base" class for models from db.sql.base instead
of db.sql.models.
This commit is contained in:
Elrond
2012-03-20 12:32:11 +01:00
parent df7c405845
commit 39fd817ab8
5 changed files with 6 additions and 7 deletions

View File

@@ -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,

View File

@@ -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)

View File

@@ -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)