Mastering Development

How to work around Django’s lack of composite keys in this complicated case?

I can’t seem to figure out how to work around the lack of composite keys in Django for the following case. I’m going to write the schema I’d like using SQLite3 dialect: PRAGMA foreign_keys = ON; CREATE TABLE A ( id_a INT PRIMARY KEY, name_a TEXT ) WITHOUT ROWID; CREATE TABLE B ( id_b INT […]