Commit 04522c0b authored by halcyon's avatar halcyon

修改port字段

parent caa318b8
...@@ -30,7 +30,7 @@ class Asset(models.Model): ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment