修改port字段

pull/7/merge
halcyon 10 years ago
parent caa318b808
commit 04522c0b80

@ -30,7 +30,7 @@ class Asset(models.Model):
('M', 'MAP'), ('M', 'MAP'),
) )
ip = models.IPAddressField(unique=True) ip = models.IPAddressField(unique=True)
port = models.SmallIntegerField(max_length=5) port = models.IntegerField(max_length=6)
idc = models.ForeignKey(IDC) idc = models.ForeignKey(IDC)
bis_group = models.ManyToManyField(BisGroup) bis_group = models.ManyToManyField(BisGroup)
dept = models.ManyToManyField(DEPT) dept = models.ManyToManyField(DEPT)

Loading…
Cancel
Save