Pre-DEP: Meta.without_primary_key (related to CompositeFields)

2017-05-22 Thread sky . duveen
Hi, We have several legacy database tables that don't have primary keys. With older versions of Django, we've hacked it by lying about a field that was not a primary key but recent Django versions validate pks more strictly. Some (but not all) of our legacy tables have multiple primary keys --

Re: Pre-DEP: Meta.without_primary_key (related to CompositeFields)

2017-05-23 Thread sky . duveen
Hi Shai, Thanks for your feedback. Our 'real' use case, is we have an opaque legacy application that we are rewriting in Django. Adding columns to the tables before we have migrated it away from the old application is too risky to do. I'm at the PyCon2017 sprins now, and as JKM said it -- ha