From 04522c0b80de6d0007770e845b8dd4061f40cffb Mon Sep 17 00:00:00 2001 From: halcyon <864072399@qq.com> Date: Mon, 25 May 2015 10:03:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9port=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jasset/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jasset/models.py b/jasset/models.py index d7821fd93..416c4ddfa 100644 --- a/jasset/models.py +++ b/jasset/models.py @@ -30,7 +30,7 @@ class Asset(models.Model): ('M', 'MAP'), ) ip = models.IPAddressField(unique=True) - port = models.SmallIntegerField(max_length=5) + port = models.IntegerField(max_length=6) idc = models.ForeignKey(IDC) bis_group = models.ManyToManyField(BisGroup) dept = models.ManyToManyField(DEPT)