def get_user_model():
    try:
        from django.contrib.auth import get_user_model
    except __HOLE__: # django < 1.5
        from django.contrib.auth.models import User
        return User
    else:
        return get_user_model()
dataset/ETHPy150Open bodylabs/drf-to-s3/drf_to_s3/tests/util.py/get_user_model