GenericForeignKey compat django<=1.7