Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ddorian43
· 5y ago · 0 comments
Django orm doesn't support composite primary keys.
Comments
[–]
BiteCode_dev
5y ago
The beauty of the Django ecosystem, is that you have packages for everything: djangopackages.org
E.G:
https://github.com/Arisophy/django-compositepk-model
[–]
darkhorse13
5y ago
Fair enough. There is `unique_together` though, which you may look into.