1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

ipam.VLAN: Added description field, extended name to 64 chars

This commit is contained in:
Jeremy Stretch
2016-07-25 14:58:49 -04:00
parent c466dc5999
commit d241cce502
8 changed files with 51 additions and 6 deletions

View File

@@ -565,7 +565,7 @@ class VLANBulkEditView(PermissionRequiredMixin, BulkEditView):
def update_objects(self, pk_list, form):
fields_to_update = {}
for field in ['site', 'group', 'status', 'role']:
for field in ['site', 'group', 'status', 'role', 'description']:
if form.cleaned_data[field]:
fields_to_update[field] = form.cleaned_data[field]