#NEWLINE# def unsubscribe( request , person , group_object = None ) : #NEWLINE# #INDENT# '\n    Unsubscribe view\n    ' #NEWLINE# context = { #NEWLINE# #INDENT# 'person' : person , #NEWLINE# 'group_object' : person , #NEWLINE# #UNINDENT# } #NEWLINE# if request . GET . get ( 'unsubscribe' , False ) : #NEWLINE# #INDENT# person . unsubscribe ( ) #NEWLINE# context . update ( { #NEWLINE# #INDENT# 'done' : True , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# return render_to_response ( 'pennyblack/subscriber/unsubscribe.html' , context )