Skip to content
Snippets Groups Projects
Commit daed600d authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Merge branch 'feat/88-tid-fix-add-device-tab-via-webui' into 'develop'

Resolve "(TID) Fix add device tab via WebUI"

Closes #88

See merge request !171
parents db211928 64eefc83
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!171Resolve "(TID) Fix add device tab via WebUI"
...@@ -65,6 +65,7 @@ def add(): ...@@ -65,6 +65,7 @@ def add():
(DeviceOperationalStatusEnum.Value(key), key.replace('DEVICEOPERATIONALSTATUS_', ''))) (DeviceOperationalStatusEnum.Value(key), key.replace('DEVICEOPERATIONALSTATUS_', '')))
# items for Device Type field # items for Device Type field
form.device_type.choices = []
for device_type in DeviceTypeEnum: for device_type in DeviceTypeEnum:
form.device_type.choices.append((device_type.value,device_type.value)) form.device_type.choices.append((device_type.value,device_type.value))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment