From 4b320a8d744b8efeb27c983bb6f08208ec743c29 Mon Sep 17 00:00:00 2001 From: yvesf Date: Wed, 9 Jun 2010 18:13:33 +0000 Subject: blablabla git-svn-id: http://10.2.2.13/svn/common/ebus@1677 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- ebus/web/model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ebus/web/model.py') diff --git a/ebus/web/model.py b/ebus/web/model.py index b8405dc..e7744df 100644 --- a/ebus/web/model.py +++ b/ebus/web/model.py @@ -3,9 +3,9 @@ from sqlalchemy import Column, Integer, Float, DateTime, String, ForeignKey from sqlalchemy.orm import relationship, backref from sqlalchemy.ext.declarative import declarative_base -Base = declarative_base() +ModelBase = declarative_base() -class Sensor(Base): +class Sensor(ModelBase): __tablename__ = 'sensor' id = Column(Integer, primary_key=True) @@ -22,7 +22,7 @@ class Sensor(Base): -class Value(Base): +class Value(ModelBase): __tablename__ = 'value' id = Column(Integer, primary_key=True) -- cgit v1.2.1