#NEWLINE# def get( self , request , **kwargs ) : #NEWLINE# #INDENT# '\n        Ensures that the correct URL is used before rendering a response\n        ' #NEWLINE# self . object = product = self . get_object ( ) #NEWLINE# redirect = self . redirect_if_necessary ( response . path , product ) #NEWLINE# if ( redirect is not None ) : #NEWLINE# #INDENT# return redirect #NEWLINE# #UNINDENT# response = super ( ProductDetailView , self ) . get ( request , ** kwargs ) #NEWLINE# self . send_signal ( request , response , product ) #NEWLINE# return response