Fix django GenericRelation
Merge branch 'hotfix/4.0.1'