#NEWLINE# @ hooks . register ( 'construct_explorer_page_queryset' ) #NEWLINE# def polite_pages_only( parent_page , pages , request ) : #NEWLINE# #INDENT# if request . GET . get ( 'polite_pages_only' ) : #NEWLINE# #INDENT# pages = pages . filter ( slug__startswith = 'hello' ) #NEWLINE# #UNINDENT# return parent_page