mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 09:07:02 +02:00
linting and remove leftover
This commit is contained in:
parent
c18804de81
commit
3775b33dcc
2 changed files with 3 additions and 10 deletions
|
@ -1493,7 +1493,7 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
||||||
def status_history(self, obj):
|
def status_history(self, obj):
|
||||||
return "No changelog to display."
|
return "No changelog to display."
|
||||||
|
|
||||||
status_history.short_description = "Status History"
|
status_history.short_description = "Status History" # type: ignore
|
||||||
|
|
||||||
# Filters
|
# Filters
|
||||||
list_filter = (
|
list_filter = (
|
||||||
|
@ -2112,15 +2112,6 @@ class DomainInformationInline(admin.StackedInline):
|
||||||
return modified_fieldsets
|
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):
|
class DomainResource(FsmModelResource):
|
||||||
"""defines how each field in the referenced model should be mapped to the corresponding fields in the
|
"""defines how each field in the referenced model should be mapped to the corresponding fields in the
|
||||||
import/export file"""
|
import/export file"""
|
||||||
|
|
|
@ -2363,6 +2363,8 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
"alternative_domains",
|
"alternative_domains",
|
||||||
"is_election_board",
|
"is_election_board",
|
||||||
"federal_agency",
|
"federal_agency",
|
||||||
|
"status_history",
|
||||||
|
"action_needed_reason_email",
|
||||||
"creator",
|
"creator",
|
||||||
"about_your_organization",
|
"about_your_organization",
|
||||||
"requested_domain",
|
"requested_domain",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue