mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 04:43:10 +00:00
Correction mineur
This commit is contained in:
parent
f59930e48d
commit
a3d8b88ae6
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class Port(models.Model):
|
||||||
('BLOQ', 'BLOQ'),
|
('BLOQ', 'BLOQ'),
|
||||||
('COMMON', 'COMMON'),
|
('COMMON', 'COMMON'),
|
||||||
)
|
)
|
||||||
STATES = STATES_BASE + tuple([(id, id) for id in VLAN_ID_LIST])
|
STATES = STATES_BASE + tuple([(str(id), str(id)) for id in VLAN_ID_LIST])
|
||||||
|
|
||||||
switch = models.ForeignKey('Switch', related_name="ports")
|
switch = models.ForeignKey('Switch', related_name="ports")
|
||||||
port = models.IntegerField()
|
port = models.IntegerField()
|
||||||
|
|
Loading…
Reference in a new issue