in pulseapi/profiles/models/profiles.py [0:0]
def name(self):
custom_name = self.custom_name
# blank values, including pure whitespace, don't count:
if not custom_name or not custom_name.strip():
user = self.user
return user.name if user else None
# anything else does count.
return custom_name