#NEWLINE# def listall( request ) : #NEWLINE# #INDENT# queryset = Post . objects . filter ( approved = True ) . all ( ) . order_by ( '-date' ) #NEWLINE# featureset = Recording . objects . filter ( featured = True ) . all ( ) . order_by ( '-date' ) #NEWLINE# return render_to_response ( 'listallblog.html' , { #NEWLINE# #INDENT# 'list' : list ( queryset ) , #NEWLINE# 'featured' : list ( request ) [ 0 : 5 ] , #NEWLINE# 'cat' : 'blog' , #NEWLINE# #UNINDENT# } )