#NEWLINE# def get_queryset( self ) : #NEWLINE# #INDENT# user = self . request . user #NEWLINE# q = super ( ServicesByMe , self ) . get_queryset ( ) #NEWLINE# services = services_where_user_is_on_call ( user ) #NEWLINE# incidents = q . filter ( service_key__in = services ) #NEWLINE# incidents = incidents . order_by ( '-occurred_at' ) #NEWLINE# return incidents