class Event(models.Model):
    content_type = models.ForeignKey(ContentType)
object_id = models.PositiveIntegerField()
content_object = generic.GenericForeignKey('content_type', 'object_id')


class Meta:
    pass
Generic one-to-one relation in Django