modularization of reporting functions

This commit is contained in:
David Kennedy 2023-10-27 06:58:11 -04:00
parent e4b3706d9c
commit 0b947ce754
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 78 additions and 52 deletions

View file

@ -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')