#NEWLINE# def render( self , context ) : #NEWLINE# #INDENT# request = context [ 'request' ] #NEWLINE# if request . user . speaker_profile : #NEWLINE# #INDENT# pending = AdditionalSpeaker . SPEAKING_STATUS_PENDING #NEWLINE# speaker = request . user . speaker_profile #NEWLINE# queryset = AdditionalSpeaker . objects . filter ( speaker = speaker , status = pending ) #NEWLINE# context [ self . context_var ] = [ item . proposalbase for item in queryset ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# context [ self . context_var ] = None #NEWLINE# #UNINDENT# return ''