From ee838aa2dae6d5fd17733b80e54830da0bb488e8 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Mon, 28 Dec 2015 13:35:30 +0100 Subject: [PATCH] fix #221 --- nsupdate/main/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nsupdate/main/models.py b/nsupdate/main/models.py index 8aa0126..dc325dc 100644 --- a/nsupdate/main/models.py +++ b/nsupdate/main/models.py @@ -385,12 +385,12 @@ class RelatedHost(models.Model): interface_id_ipv4 = models.CharField( _("interface ID IPv4"), default='', blank=True, null=True, - max_length=16, # 123.123.123.123 + max_length=16, help_text=_("The IPv4 interface ID of this host. Use IPv4 notation. Empty = do not set record.")) interface_id_ipv6 = models.CharField( _("interface ID IPv6"), default='', blank=True, null=True, - max_length=22, # ::1234:5678:9abc:def0 + max_length=40, help_text=_("The IPv6 interface ID of this host. Use IPv6 notation. Empty = do not set record.")) available = models.BooleanField( _("available"),