def get_user_model():
    """
    Get the user model that is being used.  If the `get_user_model` method
    is not available, default back to the standard User model provided
    through `django.contrib.auth`.
    """

    try:
        from django.contrib.auth import get_user_model
        
        return get_user_model()
    except __HOLE__:
        from django.contrib.auth.models import User
        
        return User
dataset/ETHPy150Open Rediker-Software/doac/doac/compat.py/get_user_model