def _get_upload_to_path(instance, filename):
    """
    Returns an upload path using the instance slug.

    This function keeps file uploads organized.
    """
    return "img/portfolio/%s/%s" % (instance.slug, filename)