mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Fixes #384: Corrected max_length in description fields
This commit is contained in:
parent
8e2a69af56
commit
bd6e68fe6c
@ -93,7 +93,7 @@ class AggregateBulkEditForm(forms.Form, BootstrapMixin):
|
|||||||
pk = forms.ModelMultipleChoiceField(queryset=Aggregate.objects.all(), widget=forms.MultipleHiddenInput)
|
pk = forms.ModelMultipleChoiceField(queryset=Aggregate.objects.all(), widget=forms.MultipleHiddenInput)
|
||||||
rir = forms.ModelChoiceField(queryset=RIR.objects.all(), required=False, label='RIR')
|
rir = forms.ModelChoiceField(queryset=RIR.objects.all(), required=False, label='RIR')
|
||||||
date_added = forms.DateField(required=False)
|
date_added = forms.DateField(required=False)
|
||||||
description = forms.CharField(max_length=50, required=False)
|
description = forms.CharField(max_length=100, required=False)
|
||||||
|
|
||||||
|
|
||||||
def aggregate_rir_choices():
|
def aggregate_rir_choices():
|
||||||
@ -233,7 +233,7 @@ class PrefixBulkEditForm(forms.Form, BootstrapMixin):
|
|||||||
vrf_global = forms.BooleanField(required=False, label='Set VRF to global')
|
vrf_global = forms.BooleanField(required=False, label='Set VRF to global')
|
||||||
status = forms.ChoiceField(choices=FORM_PREFIX_STATUS_CHOICES, required=False)
|
status = forms.ChoiceField(choices=FORM_PREFIX_STATUS_CHOICES, required=False)
|
||||||
role = forms.ModelChoiceField(queryset=Role.objects.all(), required=False)
|
role = forms.ModelChoiceField(queryset=Role.objects.all(), required=False)
|
||||||
description = forms.CharField(max_length=50, required=False)
|
description = forms.CharField(max_length=100, required=False)
|
||||||
|
|
||||||
|
|
||||||
def prefix_vrf_choices():
|
def prefix_vrf_choices():
|
||||||
@ -393,7 +393,7 @@ class IPAddressBulkEditForm(forms.Form, BootstrapMixin):
|
|||||||
vrf = forms.ModelChoiceField(queryset=VRF.objects.all(), required=False, label='VRF',
|
vrf = forms.ModelChoiceField(queryset=VRF.objects.all(), required=False, label='VRF',
|
||||||
help_text="Select the VRF to assign, or check below to remove VRF assignment")
|
help_text="Select the VRF to assign, or check below to remove VRF assignment")
|
||||||
vrf_global = forms.BooleanField(required=False, label='Set VRF to global')
|
vrf_global = forms.BooleanField(required=False, label='Set VRF to global')
|
||||||
description = forms.CharField(max_length=50, required=False)
|
description = forms.CharField(max_length=100, required=False)
|
||||||
|
|
||||||
|
|
||||||
def ipaddress_family_choices():
|
def ipaddress_family_choices():
|
||||||
|
Loading…
Reference in New Issue
Block a user