#NEWLINE# def email( self , comment , content_object , request ) : #NEWLINE# #INDENT# moderators = [ ] #NEWLINE# chief = settings . EDITORS [ 'chief' ] #NEWLINE# moderators . append ( chief ) #NEWLINE# managing = settings . EDITORS [ 'managing' ] #NEWLINE# moderators . append ( managing ) #NEWLINE# online_dev = settings . EDITORS [ 'online_dev' ] #NEWLINE# moderators . append ( online_dev ) #NEWLINE# multimedia = settings . EDITORS [ 'multimedia' ] #NEWLINE# moderators . append ( multimedia ) #NEWLINE# online_assistant = settings . EDITORS [ 'online_assistant' ] #NEWLINE# moderators . append ( online_assistant ) #NEWLINE# context = { #NEWLINE# #INDENT# 'comment' : comment , #NEWLINE# 'content_object' : comment , #NEWLINE# #UNINDENT# } #NEWLINE# subject = ( 'New comment awaiting moderation on "%s"' % content_object ) #NEWLINE# render_email_and_send ( context = context , message_template = 'multimedia/audioclip_comment_notification_email.txt' , subject = subject , recipients = moderators )