コード例 #1
0
ファイル: models.py プロジェクト: ASRANetOrg/DISS
    def save(self, *args, **kwargs):

        sorted_self = [["Salutation", self.salutation], ["Primary Author First Name", self.first_name],
                       ["Primary Author Surname", self.last_name], ["Organisation", self.organisation],
                       ["Co Authors Names", self.co_authors_names], ["Email", self.email],
                       ["Paper Title", self.paper_title], ["Abstract", self.abstract],
                       ]

        email_client(self, "DISS 2017 Abstract Upload", "Thank you for uploading your abstract for DISS 2017")
        email_admin(self, "New DISS 2017 Abstract", "Please find enclosed the details for the new DISS "
                                                    "2017 abstract upload.", sorted_self)

        super(SubmittedAbstract, self).save(*args, **kwargs)
コード例 #2
0
ファイル: models.py プロジェクト: ASRANetOrg/DISS
    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, "DISS 2017 Conference Registration", "You are officially registered for DISS 2017")
        email_admin(self, "New DISS 2017 Registrant", "Please find enclosed the details for the new DISS "
                                                      "2017 registrant.", sorted_self)

        super(User, self).save(*args, **kwargs)
コード例 #3
0
ファイル: models.py プロジェクト: ASRANetOrg/DISS
    def save(self, *args, **kwargs):

        sorted_self = [
            ["Salutation", self.salutation],
            ["Primary Author First Name", self.first_name],
            ["Primary Author Surname", self.last_name],
            ["Organisation", self.organisation],
            ["Co Authors Names", self.co_authors_names],
            ["Email", self.email],
            ["Paper Title", self.paper_title],
            ["Abstract", self.abstract],
        ]

        email_client(self, "DISS 2017 Abstract Upload",
                     "Thank you for uploading your abstract for DISS 2017")
        email_admin(
            self, "New DISS 2017 Abstract",
            "Please find enclosed the details for the new DISS "
            "2017 abstract upload.", sorted_self)

        super(SubmittedAbstract, self).save(*args, **kwargs)
コード例 #4
0
    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, "DISS 2017 Conference Registration",
                     "You are officially registered for DISS 2017")
        email_admin(
            self, "New DISS 2017 Registrant",
            "Please find enclosed the details for the new DISS "
            "2017 registrant.", sorted_self)

        super(User, self).save(*args, **kwargs)