def METHOD_NAME(self, username):
    """
    Perform any cleaning on the "username" prior to using it to get or
    create the user object.  Return the cleaned username.
    """
    field = [field for field in UserModel._meta.fields if field.name=='username'][0]
    return self.clean_data(username, field)