mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Correction mineur
This commit is contained in:
parent
3d4f7a6a68
commit
4d68fb91a4
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