#NEWLINE# def deletion_not_allowed( self , request , obj , language_code ) : #NEWLINE# #INDENT# opts = self . model . _meta #NEWLINE# app_label = opts . app_label #NEWLINE# object_name = force_text ( opts . verbose_name ) #NEWLINE# context = RequestContext ( request ) #NEWLINE# context . update ( { #NEWLINE# #INDENT# 'object' : obj . master , #NEWLINE# 'language_code' : language_code , #NEWLINE# 'opts' : opts , #NEWLINE# 'app_label' : app_label , #NEWLINE# 'language_name' : get_language_name ( language_code ) , #NEWLINE# 'object_name' : object_name , #NEWLINE# #UNINDENT# } ) #NEWLINE# return render_to_response ( self . deletion_not_allowed_template , context )