mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37:03 +02:00
modularization of reporting functions
This commit is contained in:
parent
e4b3706d9c
commit
0b947ce754
2 changed files with 78 additions and 52 deletions
|
@ -752,6 +752,7 @@ class DomainAdmin(ListHeaderAdmin):
|
|||
change_list_template = "django/admin/domain_change_list.html"
|
||||
readonly_fields = ["state"]
|
||||
|
||||
# TODO file names and function names specific to report type
|
||||
def export_data_type(self, request):
|
||||
# match the CSV example with all the fields
|
||||
response = HttpResponse(content_type='text/csv')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue