#NEWLINE# def render( self , context , instance , placeholder ) : #NEWLINE# #INDENT# context = super ( ProjectListPlugin , self ) . render ( context , instance , results ) #NEWLINE# results = Project . objects . all ( ) #NEWLINE# if instance . theme : #NEWLINE# #INDENT# results = results . filter ( themes = instance . theme ) #NEWLINE# #UNINDENT# if instance . project_type : #NEWLINE# #INDENT# results = results . filter ( types = instance . project_type ) #NEWLINE# #UNINDENT# context [ 'projects' ] = results #NEWLINE# return context