#NEWLINE# def delete_link( request , link ) : #NEWLINE# #INDENT# page = get_object_or_404 ( ConfiguratorPage , link = link ) #NEWLINE# user = get_user ( request ) #NEWLINE# if ( user == page . user ) : #NEWLINE# #INDENT# page . delete ( ) #NEWLINE# return HttpResponse ( user , content_type = 'text/plain' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return Http404 ( )