This commit is contained in:
David Kennedy 2025-03-09 19:27:43 -04:00
parent bb913a9372
commit 8aeeb3c9e3
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 8 additions and 8 deletions

View file

@ -411,7 +411,7 @@ class DomainInformationAdminForm(forms.ModelForm):
class DomainInformationInlineForm(forms.ModelForm):
"""This form utilizes the custom widget for its class's ManyToMany UIs."""
class Meta:
model = models.DomainInformation
fields = "__all__"
@ -3804,7 +3804,7 @@ class DomainInformationInline(admin.StackedInline):
form.is_omb_analyst = self.is_omb_analyst
return form
def get_formset(self, request, obj=None, **kwargs):
"""Attach request to the formset so that it can be available in the form"""
formset = super().get_formset(request, obj, **kwargs)