#NEWLINE# def get_link_url( self , datum ) : #NEWLINE# #INDENT# base_url = reverse ( self . url ) #NEWLINE# vol_id = ( '%s:vol' % self . table . get_object_id ( self ) ) #NEWLINE# params = urlencode ( { #NEWLINE# #INDENT# 'source_type' : 'volume_id' , #NEWLINE# 'source_id' : vol_id , #NEWLINE# #UNINDENT# } ) #NEWLINE# return '?' . join ( [ base_url , params ] )