This commit is contained in:
David Kennedy 2025-01-06 14:39:44 -05:00
parent 3146dc07fa
commit 560baed2e1
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 2 additions and 2 deletions

View file

@ -162,7 +162,7 @@ class DomainSuborganizationForm(forms.ModelForm):
"""Form for updating the suborganization""" """Form for updating the suborganization"""
sub_organization = forms.ModelChoiceField( sub_organization = forms.ModelChoiceField(
label = "Suborganization name", label="Suborganization name",
queryset=Suborganization.objects.none(), queryset=Suborganization.objects.none(),
required=False, required=False,
widget=ComboboxWidget, widget=ComboboxWidget,

View file

@ -2,4 +2,4 @@ from django.forms import Select
class ComboboxWidget(Select): class ComboboxWidget(Select):
template_name = "django/forms/widgets/combobox.html" template_name = "django/forms/widgets/combobox.html"