def __clean_path(path):
    """ensures path is Django-friendly"""
    if path.startswith('/'):
        path = path[1:]
    if not path.endswith('/'):
        path = '{}/'.format(path)
    return path
