Polymorphic models implementation for django.