def get_email_context(self,**kwargs):
context = super(Registration,self).get_email_context(**kwargs)<EOL>context.update({<EOL>'<STR_LIT>': self.customer.first_name,<EOL>'<STR_LIT>': self.customer.last_name,<EOL>'<STR_LIT>': self.comments,<EOL>'<STR_LIT>': self.howHeardAboutUs,<EOL>'<STR_LIT>': [x.get_email_context(includeName=False) for x in self.eventregistration_set.all()],<EOL>})<EOL>if hasattr(self,'<STR_LIT>') and self.invoice:<EOL><INDENT>context.update({<EOL>'<STR_LIT>': self.invoice.get_email_context(),<EOL>})<EOL><DEDENT>return context<EOL>
Overrides EmailRecipientMixin