Пример #1
0
def unsubscribe_all(request, podcast):
    """ unsubscribe all of the user's devices from the podcast """
    user = request.user
    unsubscribe_podcast_all(podcast, user)
    return HttpResponseRedirect(get_podcast_link_target(podcast))
Пример #2
0
def unsubscribe_all(request, podcast):
    """ unsubscribe all of the user's devices from the podcast """
    user = request.user
    unsubscribe_podcast_all(podcast, user)
    return HttpResponseRedirect(get_podcast_link_target(podcast))