def get_image_field_class():
    try:
        from sorl.thumbnail import ImageField
    except __HOLE__:
        from django.db.models import ImageField
    return ImageField
dataset/ETHPy150Open hovel/pybbm/pybb/compat.py/get_image_field_class