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