We have two tables that — for legal reasons — are not allowed to be combined. The data is so similar that we are using PostgreSQL table inheritance <http://www.postgresql.org/docs/9.4/static/ddl-inherit.html>, but we can’t return the information in the same page. Originally, we only had one table with a column specifying which data set to use, but or lawyers put an end to that.
So we have two tables tables with the exact same columns: product_foo and product_bar. We also have two models that use model inheritance so that they have the exact same fields: ProductFoo and ProductBar. The decision to choose which table to use is handled based on user settings. We would like to go back to just having the one Product model, and have its table name switch as necessary. Is there a way to do that? Peter of the Norse [email protected] -- You received this message because you are subscribed to the Google Groups "Django users" 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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0A706025-5A66-47E3-B524-222E1780ADA4%40radio1190.org. For more options, visit https://groups.google.com/d/optout.

