def _get_opt(model):
    try:
        return model._meta.app_label, model._meta.model_name  # Django 1.7 format
    except __HOLE__:
        return model._meta.app_label, model._meta.module_name
dataset/ETHPy150Open chrisglass/django_polymorphic/polymorphic/admin.py/_get_opt