From 396c91f8f79b6960906fa22ef4f494603f29b978 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Thu, 22 Apr 2021 14:05:07 -0400 Subject: [PATCH] Fixes #6246: Permit full-length descriptions when creating device components and VM interfaces --- docs/release-notes/version-2.11.md | 8 ++++++++ netbox/dcim/forms.py | 2 +- netbox/virtualization/forms.py | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/release-notes/version-2.11.md b/docs/release-notes/version-2.11.md index 838022006..19e411d03 100644 --- a/docs/release-notes/version-2.11.md +++ b/docs/release-notes/version-2.11.md @@ -1,5 +1,13 @@ # NetBox v2.11 +## v2.11.2 (FUTURE) + +### Bug Fixes + +* [#6246](https://github.com/netbox-community/netbox/issues/6246) - Permit full-length descriptions when creating device components and VM interfaces + +--- + ## v2.11.1 (2021-04-21) ### Enhancements diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index d6799b6c9..51be3f269 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -2552,7 +2552,7 @@ class ComponentCreateForm(BootstrapMixin, CustomFieldForm, ComponentForm): queryset=Device.objects.all() ) description = forms.CharField( - max_length=100, + max_length=200, required=False ) tags = DynamicModelMultipleChoiceField( diff --git a/netbox/virtualization/forms.py b/netbox/virtualization/forms.py index 3da5c98d2..265674803 100644 --- a/netbox/virtualization/forms.py +++ b/netbox/virtualization/forms.py @@ -683,7 +683,7 @@ class VMInterfaceCreateForm(BootstrapMixin, InterfaceCommonForm): label='MAC Address' ) description = forms.CharField( - max_length=100, + max_length=200, required=False ) mode = forms.ChoiceField(