mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
WIP urls, view, template, JS connecting tge template submission to view, rough-in the export method
This commit is contained in:
parent
69d5dd4d5c
commit
c2536d6300
13 changed files with 302 additions and 9 deletions
|
@ -795,6 +795,9 @@ class DomainAdmin(ListHeaderAdmin):
|
|||
"name",
|
||||
"organization_type",
|
||||
"state",
|
||||
"created_at",
|
||||
"deleted_at",
|
||||
"expiration_date",
|
||||
]
|
||||
|
||||
def organization_type(self, obj):
|
||||
|
@ -809,7 +812,7 @@ class DomainAdmin(ListHeaderAdmin):
|
|||
search_help_text = "Search by domain name."
|
||||
change_form_template = "django/admin/domain_change_form.html"
|
||||
change_list_template = "django/admin/domain_change_list.html"
|
||||
readonly_fields = ["state", "expiration_date"]
|
||||
readonly_fields = ["state", "expiration_date", "deleted_at"]
|
||||
|
||||
def export_data_type(self, request):
|
||||
# match the CSV example with all the fields
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue