linting and remove leftover

This commit is contained in:
zandercymatics 2024-06-27 14:20:24 -06:00
parent c18804de81
commit 3775b33dcc
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 3 additions and 10 deletions

View file

@ -1493,7 +1493,7 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
def status_history(self, obj):
return "No changelog to display."
status_history.short_description = "Status History"
status_history.short_description = "Status History" # type: ignore
# Filters
list_filter = (
@ -2112,15 +2112,6 @@ class DomainInformationInline(admin.StackedInline):
return modified_fieldsets
class DomainForm(forms.ModelForm):
"""This form utilizes the custom widget for its class's forms"""
class Meta:
model = models.Domain
fields = "__all__"
widgets = {}
class DomainResource(FsmModelResource):
"""defines how each field in the referenced model should be mapped to the corresponding fields in the
import/export file"""

View file

@ -2363,6 +2363,8 @@ class TestDomainRequestAdmin(MockEppLib):
"alternative_domains",
"is_election_board",
"federal_agency",
"status_history",
"action_needed_reason_email",
"creator",
"about_your_organization",
"requested_domain",