Django orm doesn't support composite primary keys.
Re:Migrating to SQLAlchemy 2.0
by BiteCode_dev on Friday February 19, 2021 @10:46AM
(#26194332)
The beauty of the Django ecosystem, is that you have packages for everything: djangopackages.org
Re:Migrating to SQLAlchemy 2.0
by darkhorse13 on Friday February 19, 2021 @10:45AM
(#26194324)
Fair enough. There is `unique_together` though, which you may look into.
Whenever I read a statement like this from someone, I always feel that they actually haven't thoroughly read the docs for Django's ORM. Can you give me one concrete complex example that you can't imagine doing with the ORM? Because 95% of the time, these "complex" models are trivially easy to pull off with the ORM (from my experience).