#NEWLINE# def get_paginated_response( self , data ) : #NEWLINE# #INDENT# return Response ( OrderedDict ( [ ( 'next' , ( self . get_next_link ( ) if self else None ) ) , ( 'previous' , self . get_previous_link ( ) ) , ( 'results' , data ) ] ) )