I am about to move my models from django to sqlalchemy. Can I create two tables under a single Base class. e.g:
class Vr(Base): __tablename__ = 'vr' name = Column(String) extension = Column(String) def __init__(self, name, extension): self.name = name self.extension = extension def __repr__(self): return u"Language(%s, %s)" % (self.name, self.extension) __tablename__ = 'vr' name = Column(String) extension = Column(String) def __init__(self, name, extension): self.name = name self.extension = extension def __repr__(self): return u"Language(%s, %s)" % (self.name, self.extension) I would appreciate if you point me to any relevant documentation. Thank You. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.