From 3273456feab0e725fcb81c1a44689b5853f4b48b Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Thu, 13 Aug 2020 13:40:43 +0200 Subject: [PATCH] Contact: Increase width of Contact.room Increase the width of the room field in the Contact model. This was requested by user. --- mpicms/personal/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpicms/personal/models.py b/mpicms/personal/models.py index 15c787f..5d969fb 100644 --- a/mpicms/personal/models.py +++ b/mpicms/personal/models.py @@ -97,7 +97,7 @@ class Contact(index.Indexed, ClusterableModel): last_name = models.CharField(_("last name"), max_length=50, blank=True) email = models.EmailField(_("email"), blank=True) phone = models.CharField(_("phone number"), blank=True, max_length=50) - room = models.CharField(_("room"), max_length=25, blank=True) + room = models.CharField(_("room"), max_length=50, blank=True) is_active = models.BooleanField(_("is active"), default=True) priority = models.PositiveSmallIntegerField( _("priority"), blank=True, default=0, validators=[MaxValueValidator(999)],