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:
@ -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)
|
||||
|
@ -240,7 +240,7 @@ class RoleForm(BootstrapMixin, forms.ModelForm):
|
||||
class Meta:
|
||||
model = Role
|
||||
fields = [
|
||||
'name', 'slug',
|
||||
'name', 'slug', 'weight',
|
||||
]
|
||||
|
||||
|
||||
|
@ -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')
|
||||
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user