#NEWLINE# def get_queryset( self ) : #NEWLINE# #INDENT# '' #NEWLINE# queryset = super ( GenericAPIView , self ) . get_queryset ( ) #NEWLINE# if isinstance ( queryset , BaseQuerySet ) : #NEWLINE# #INDENT# queryset = queryset . all ( ) #NEWLINE# #UNINDENT# return queryset