def _gen_image_name(instance, _):
    """
    Returns the upload path (relative to settings.MEDIA_ROOT) for the specified Team's image.
    """

    # Must "return a Unix-style path (with forward slashes)"
    return 'team-images' + '/' + str(instance.user.id) + '.png'