#NEWLINE# def get_context_data( self , request , **kwargs ) : #NEWLINE# #INDENT# data = { #NEWLINE# #INDENT# 'router' : { #NEWLINE# #INDENT# 'id' : self . tab_group . kwargs [ 'router_id' ] , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# self . request = request #NEWLINE# ( rules , supported ) = self . get_routerrules_data ( checksupport = True ) #NEWLINE# if supported : #NEWLINE# #INDENT# data [ 'rulesmatrix' ] = self . get_routerrulesgrid_data ( rules ) #NEWLINE# #UNINDENT# return data