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)