def get_user(self, username):
User = get_user_model()  <EOL>try:<EOL><INDENT>user = User.objects.get(**{<EOL>User.USERNAME_FIELD: username,<EOL>'<STR_LIT>': False<EOL>})<EOL>return user<EOL><DEDENT>except User.DoesNotExist:<EOL><INDENT>return None<EOL><DEDENT>
Given the verified username, look up and return the
corresponding user account if it exists, or ``None`` if it
doesn't.