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

Fixes #3669: Include weight field in prefix/VLAN role form

This commit is contained in:
Jeremy Stretch
2019-11-06 09:39:21 -05:00
parent 5eb5c4bac5
commit fbde6187ea
3 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
## Bug Fixes
* [#3669](https://github.com/netbox-community/netbox/issues/3669) - Include `weight` field in prefix/VLAN role form
* [#3674](https://github.com/netbox-community/netbox/issues/3674) - Include comments on PowerFeed view
# v2.6.7 (2019-11-01)

View File

@ -240,7 +240,7 @@ class RoleForm(BootstrapMixin, forms.ModelForm):
class Meta:
model = Role
fields = [
'name', 'slug',
'name', 'slug', 'weight',
]

View File

@ -292,7 +292,7 @@ class RoleTable(BaseTable):
class Meta(BaseTable.Meta):
model = Role
fields = ('pk', 'name', 'prefix_count', 'vlan_count', 'slug', 'actions')
fields = ('pk', 'name', 'prefix_count', 'vlan_count', 'slug', 'weight', 'actions')
#