#NEWLINE# def has_delete_permission( self , request , obj = None ) : #NEWLINE# #INDENT# if self . opts . auto_created : #NEWLINE# #INDENT# return self . has_change_permission ( request , obj ) #NEWLINE# #UNINDENT# return super ( InlineModelAdmin , self ) . has_delete_permission ( request , obj )