(request, plist, owner, format)
return HttpResponse(status=204)
Replaces the podcasts in the list and returns 204 No Content
Replaces the podcasts in the list and returns 204 No Content
Replaces the podcasts in the list and returns 204 No Content
def update_list(request, plist, owner, format):
    """Replaces the podcasts in the list and returns 204 No Content"""
    urls = parse_subscription(request.body.decode("utf-8"), format)
    podcasts = [Podcast.objects.get_or_create_for_url(url).object for url in urls]
    plist.set_entries(podcasts)

    return HttpResponse(status=204)
def update_list ( request , plist , owner , format ) : urls = parse_subscription ( request . body . decode ( "utf-8" ) , format ) podcasts = [ Podcast . objects . get_or_create_for_url ( url ) . object for url in urls ] plist . set_entries ( podcasts ) return HttpResponse ( status = 204 )