#NEWLINE# def get_context_data( self , id , **kwargs ) : #NEWLINE# #INDENT# context = super ( MailTemplateView , self ) . get_context_data ( ** kwargs ) #NEWLINE# mail = Outbox ( ) . get ( id ) #NEWLINE# context [ 'mail' ] = mail #NEWLINE# context [ 'content_type' ] = self . request . GET [ 'content_type' ] #NEWLINE# context [ 'content' ] = mail . body [ self . request . GET [ 'content_type' ] ] #NEWLINE# return context