def METHOD_NAME(db, django_user_model, django_username_field):
    """This is a copy from pytest-django prepared for usage with e-mail instead
    of username.
    """
    UserModel = django_user_model
    username_field = django_username_field
    try:
        user = UserModel._default_manager.get(**{username_field: "admin@example.com"})
    except UserModel.DoesNotExist:
        extra_fields = {}
        user = UserModel._default_manager.create_superuser("admin@example.com", "password", **extra_fields)
    return user