def save(self, *args, **kwargs): sorted_self = [ ["Salutation", self.salutation], ["First name", self.first_name], ["Last Name", self.last_name], ["Email", self.email], ["Telephone", self.telephone], ["Address", self.address], ["City", self.city], ["Country", self.country], ["Postcode", self.postcode], ["Organisation", self.organisation], ["Paying Normal Fee", str(self.fee_normal)], ["Paying Student Fee", str(self.fee_student)], ] email_client(self, "NUPP 2017 Conference Registration", "You are officially registered for NUPP 2017") email_admin( self, "New NUPP 2017 Registrant", "Please find enclosed the details for the new NUPP " "2017 registrant.", sorted_self, ) super(User, self).save(*args, **kwargs)
def save(self, *args, **kwargs): sorted_self = [["Salutation", self.salutation], ["Primary Author First Name", self.first_name], ["Primary Author Surname", self.last_name], ["Co Authors Names", self.co_authors_names], ["Email", self.email], ["Paper Title", self.paper_title], ["Abstract", self.abstract], ] email_client(self, "NUPP 2017 Abstract Upload", "Thank you for uploading an abstract for NUPP 2017") email_admin(self, "New NUPP 2017 Abstract", "Please find enclosed the details for the new NUPP " "2017 abstract upload.", sorted_self) super(SubmittedAbstract, self).save(*args, **kwargs)
def save(self, *args, **kwargs): sorted_self = [ ["Salutation", self.salutation], ["Primary Author First Name", self.first_name], ["Primary Author Surname", self.last_name], ["Co Authors Names", self.co_authors_names], ["Email", self.email], ["Paper Title", self.paper_title], ["Abstract", self.abstract], ] email_client(self, "NUPP 2017 Abstract Upload", "Thank you for uploading an abstract for NUPP 2017") email_admin( self, "New NUPP 2017 Abstract", "Please find enclosed the details for the new NUPP " "2017 abstract upload.", sorted_self) super(SubmittedAbstract, self).save(*args, **kwargs)
def save(self, *args, **kwargs): sorted_self = [ ["Salutation", self.salutation], ["First name", self.first_name], ["Last Name", self.last_name], ["Email", self.email], ["Telephone", self.telephone], ["Address", self.address], ["City", self.city], ["Country", self.country], ["Postcode", self.postcode], ["Organisation", self.organisation], ["Paying Normal Fee", str(self.fee_normal)], ["Paying Student Fee", str(self.fee_student)], ] email_client(self, "NUPP 2017 Conference Registration", "You are officially registered for NUPP 2017") email_admin( self, "New NUPP 2017 Registrant", "Please find enclosed the details for the new NUPP " "2017 registrant.", sorted_self) super(User, self).save(*args, **kwargs)