Re: [sqlalchemy] Re: Is it possible to define multiple model objects that refer to the same table?

2012-11-16 Thread Michael Bayer
On Nov 16, 2012, at 2:59 PM, Rob Crowell wrote: Thanks for the help so far Michael! I can explain a little more about what I'm trying to do (I'm using a fictional application here but I think it pretty accurately translates into my actual application). BACKGROUND -- Let's

Re: [sqlalchemy] Re: Is it possible to define multiple model objects that refer to the same table?

2012-11-15 Thread Michael Bayer
On Nov 15, 2012, at 7:33 PM, Rob Crowell wrote: Sorry, that got cut off at the end. class IssueTag(Base): __tablename__ = 'issue_user_tag' sqlalchemy.exc.InvalidRequestError: Table 'issue_user_tag' is already defined for this MetaData instance. Specify 'extend_existing=True' to