We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa2d7f6 commit 26bec12Copy full SHA for 26bec12
netbox/tenancy/forms/bulk_edit.py
@@ -45,12 +45,17 @@ class TenantBulkEditForm(NetBoxModelBulkEditForm):
45
queryset=TenantGroup.objects.all(),
46
required=False
47
)
48
+ description = forms.CharField(
49
+ label=_('Description'),
50
+ max_length=200,
51
+ required=False
52
+ )
53
54
model = Tenant
55
fieldsets = (
- FieldSet('group'),
56
+ FieldSet('group', 'description'),
57
- nullable_fields = ('group',)
58
+ nullable_fields = ('group', 'description')
59
60
61
#
netbox/tenancy/tests/test_views.py
@@ -98,6 +98,7 @@ def setUpTestData(cls):
98
99
cls.bulk_edit_data = {
100
'group': tenant_groups[1].pk,
101
+ 'description': 'Bulk edit description',
102
}
103
104
0 commit comments