From 908fd8bba7e08e9b776cab5ea83755e9f109e10c Mon Sep 17 00:00:00 2001 From: Guido Longoni Date: Tue, 20 Jun 2023 22:59:46 +0200 Subject: [PATCH] =?UTF-8?q?note=20con=20l'asterisco=20sono=20pi=C3=B9=20ri?= =?UTF-8?q?conoscibili?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- django/contatti_app/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/django/contatti_app/models.py b/django/contatti_app/models.py index f0a4a12..fca054c 100644 --- a/django/contatti_app/models.py +++ b/django/contatti_app/models.py @@ -75,7 +75,7 @@ class Telefono(VoceContattoRubrica): else: tel = str(self.numero) if self.note: - tel += ' (!)' + tel += ' (*)' return tel numero = models.CharField(null=False,blank=False,max_length=20) @@ -91,7 +91,7 @@ class Email(VoceContattoRubrica): def __str__(self): eml = self.indirizzo_email if self.note: - eml += ' (!)' + eml += ' (*)' return eml indirizzo_email = models.EmailField(null=False,blank=False,max_length=254) @@ -106,7 +106,7 @@ class Pec(Email): def __str__(self): eml = self.indirizzo_email if self.note: - eml += ' (!)' + eml += ' (*)' return eml @@ -119,7 +119,7 @@ class Fax(VoceContattoRubrica): def __str__(self): out = self.numero if self.note: - out += ' (!)' + out += ' (*)' return out.strip() numero = models.CharField(null=False,blank=False, max_length=20)