Browse Source

Correction mineur

rewrite_authors
Gabriel Detraz 9 years ago
committed by root
parent
commit
4d68fb91a4
  1. 2
      topologie/models.py

2
topologie/models.py

@ -36,7 +36,7 @@ class Port(models.Model):
('BLOQ', 'BLOQ'),
('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")
port = models.IntegerField()

Loading…
Cancel
Save