#NEWLINE# def get_cloudprovider( self ) : #NEWLINE# #INDENT# queryset = models . CloudProvider . objects . all ( ) #NEWLINE# obj = get_object_or_404 ( queryset , name = self . kwargs . get ( 'name' ) ) #NEWLINE# self . check_object_permissions ( self . request , obj ) #NEWLINE# return obj