def get_GenericRelation():
    try:
        from django.contrib.contenttypes.fields import GenericRelation
    # For Django 1.6 and earlier
    except __HOLE__:
        from django.contrib.contenttypes.generic import GenericRelation
    return GenericRelation
dataset/ETHPy150Open gregmuellegger/django-autofixture/autofixture/compat.py/get_GenericRelation