django-generic-m2m

relate anything to anything. behind the scenes the app uses a table containing two generic foreign keys.

Indices and tables