summaryrefslogtreecommitdiff
path: root/ishtar_common/models_common.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-11-03 14:26:51 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:20:59 +0100
commit75de7b0d7cecc63cad284321d5eb06ae79d76919 (patch)
tree40c1b117ef43357a6a25e2681ff49c0e86f6a6a1 /ishtar_common/models_common.py
parentcaaea9c1f7f6702203ee947ca23a43c3ef5732fd (diff)
downloadIshtar-75de7b0d7cecc63cad284321d5eb06ae79d76919.tar.bz2
Ishtar-75de7b0d7cecc63cad284321d5eb06ae79d76919.zip
Increase phone number length (refs #5204)
Diffstat (limited to 'ishtar_common/models_common.py')
-rw-r--r--ishtar_common/models_common.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py
index 4f3f54bea..79022acc6 100644
--- a/ishtar_common/models_common.py
+++ b/ishtar_common/models_common.py
@@ -2150,23 +2150,23 @@ class Address(BaseHistorizedItem):
alt_country = models.CharField(
_("Other address: country"), max_length=30, null=True, blank=True
)
- phone = models.CharField(_("Phone"), max_length=18, null=True, blank=True)
+ phone = models.CharField(_("Phone"), max_length=32, null=True, blank=True)
phone_desc = models.CharField(
_("Phone description"), max_length=300, null=True, blank=True
)
phone2 = models.CharField(
- _("Phone description 2"), max_length=18, null=True, blank=True
+ _("Phone description 2"), max_length=32, null=True, blank=True
)
phone_desc2 = models.CharField(
_("Phone description 2"), max_length=300, null=True, blank=True
)
- phone3 = models.CharField(_("Phone 3"), max_length=18, null=True, blank=True)
+ phone3 = models.CharField(_("Phone 3"), max_length=32, null=True, blank=True)
phone_desc3 = models.CharField(
_("Phone description 3"), max_length=300, null=True, blank=True
)
raw_phone = models.TextField(_("Raw phone"), blank=True, default="")
mobile_phone = models.CharField(
- _("Mobile phone"), max_length=18, null=True, blank=True
+ _("Mobile phone"), max_length=32, null=True, blank=True
)
email = models.EmailField(_("Email"), max_length=300, blank=True, null=True)
alt_address_is_prefered = models.BooleanField(