News for hackers. Stuff that matters.
Re:Migrating to SQLAlchemy 2.0 by ddorian43 on Friday February 19, 2021 @09:19AM (#26193388)
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

E.G: https://github.com/Arisophy/django-compositepk-model

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.