diff --git a/dje/views.py b/dje/views.py index c722e2fd..afc5b50d 100644 --- a/dje/views.py +++ b/dje/views.py @@ -1880,6 +1880,7 @@ class DownloadableMixin: "doc": "application/msword", "html": "text/html", "json": "application/json", + "ods": "application/vnd.oasis.opendocument.spreadsheet", "xls": "application/vnd.ms-excel", "xlsx": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "yaml": "application/x-yaml", diff --git a/docs/images/tutorial-6-vuln-report/export-report-to-xlsx.png b/docs/images/tutorial-6-vuln-report/export-report-to-xlsx.png index 83d42593..cb5deed6 100644 Binary files a/docs/images/tutorial-6-vuln-report/export-report-to-xlsx.png and b/docs/images/tutorial-6-vuln-report/export-report-to-xlsx.png differ diff --git a/pyproject.toml b/pyproject.toml index 15622423..90651799 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -154,7 +154,10 @@ dependencies = [ "annotated-types==0.7.0", "semantic-version==2.10.0", # OpenVEX - "msgspec==0.20.0" + "msgspec==0.20.0", + # OpenDocument Format + "odfdo==3.20.2", + "lxml==6.0.2", ] [project.optional-dependencies] diff --git a/reporting/templates/reporting/report_run.html b/reporting/templates/reporting/report_run.html index ddd7db11..a14fea63 100644 --- a/reporting/templates/reporting/report_run.html +++ b/reporting/templates/reporting/report_run.html @@ -52,12 +52,13 @@