#NEWLINE# def get_queryset( self ) : #NEWLINE# #INDENT# if ( not perms . may_view_forum ( self . request . user , self . forum ) ) : #NEWLINE# #INDENT# raise PermissionDenied #NEWLINE# #UNINDENT# qs = self . forum . topics . order_by ( '-sticky' , '-updated' , '-id' ) . select_related ( ) #NEWLINE# qs = perms . filter_topics ( self . request . user , qs ) #NEWLINE# return self