#NEWLINE# def get_following_history( self , history = None ) : #NEWLINE# #INDENT# following = self . follows . all ( ) #NEWLINE# if ( not history ) : #NEWLINE# #INDENT# from api.models import EyeHistory #NEWLINE# history = EyeHistory . objects . all ( ) #NEWLINE# #UNINDENT# query_set = history . filter ( user__in = following ) #NEWLINE# return query_set