Hello, Sorry for the delay of the answer, I was busy these last days.
I tried every solution and I must honestly say that at the beginning, I was not attracted by the table_per_association.py and the table_per_related.py solutions because I didn't like the idea of having tables automatically generated. I was more interested by the discriminator_on_association. But after some tests, I find that the table_per_related solution works fine and the database is cleaner as I expected. Thank you guys ! Olaf -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
