Is there anyway to model double foreign keys in Django?
For instance if I had tables: audio, overlay, html
and the table: timeline_item which has a field id, and a field category which specifies audio, overlay, or html…
Does anyone know how I would go about modeling this in Django? or if it’s even possible?
Sounds like a polymorphic association. Maybe you can solve your problem with Django’s generic relations using the ContentTypes framework.