#NEWLINE# def get_object( self ) : #NEWLINE# #INDENT# obj = super ( RangeUpdateView , self ) . get_object ( ) #NEWLINE# if ( not self . is_editable ) : #NEWLINE# #INDENT# raise exceptions . PermissionDenied ( 'Not allowed' ) #NEWLINE# #UNINDENT# return obj