#NEWLINE# def get_context_data( self , **kwargs ) : #NEWLINE# #INDENT# context = super ( DetailView , self ) . get_context_data ( ** kwargs ) #NEWLINE# port = self . get_data ( ) #NEWLINE# table = project_tables . PortsTable ( self . request , network_id = port . network_id ) #NEWLINE# context [ 'port' ] = port #NEWLINE# context [ 'url' ] = self . get_redirect_url ( ) #NEWLINE# context [ 'actions' ] = table . render_row_actions ( port ) #NEWLINE# return context