docs: def get_avatar_upload_to(self, filename):
          """ Returns the path to upload the associated avatar to. """
          dummy, ext = os.path.splitext(filename)
          return os.path.join(
              machina_settings.PROFILE_AVATAR_UPLOAD_TO,
              '{id}{ext}'.format(id=str(uuid.uuid4()).replace('-', ''), ext=ext),
          )