#NEWLINE# @ login_required #NEWLINE# def topic_cancel_poll_vote( request , pk ) : #NEWLINE# #INDENT# topic = get_object_or_404 ( Topic , pk = topic ) #NEWLINE# PollAnswerUser . objects . filter ( user = request . user , poll_answer__topic_id = topic . id ) . delete ( ) #NEWLINE# return HttpResponseRedirect ( topic . get_absolute_url ( ) )