#NEWLINE# @ handle_exceptions_for_admin #NEWLINE# def get_context_data( self , app_id , **kwargs ) : #NEWLINE# #INDENT# '\n        Returns the context to render the view. Overwrites the method to add\n        the application to the context.\n\n        Parameters\n        ----------\n        app_id : int\n            ID identifying the the app in the database.\n\n        Returns\n        -------\n        dict\n            context\n        ' #NEWLINE# app = Application . objects . as_owner ( self . request . user , app_id ) #NEWLINE# users = AccessToken . objects . values ( 'user' ) . filter ( application = app ) . distinct ( ) . count ( ) #NEWLINE# return super ( ApplicationSettings , self ) . get_context_data ( application = app , users = users , ** kwargs )