#NEWLINE# def get_snapshot( self ) : #NEWLINE# #INDENT# queryset = models . Snapshot . objects . all ( ) #NEWLINE# obj = get_object_or_404 ( queryset , id = self . kwargs . get ( 'pk' ) ) #NEWLINE# self . check_object_permissions ( queryset . request , obj ) #NEWLINE# return obj