Skip to content

Commit

Permalink
Merge pull request #297 from acdh-oeaw/excel-support
Browse files Browse the repository at this point in the history
add support for xlsx format
  • Loading branch information
gythaogg authored Feb 11, 2025
2 parents c4e74c2 + c62dd43 commit f7f4925
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis_ontology/settings/server_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@


APIS_ANON_VIEWS_ALLOWED = False
EXPORT_FORMATS = ("csv",)
EXPORT_FORMATS = ("csv", "xlsx")
DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap5-responsive.html"
DJANGO_TABLES2_TABLE_ATTRS = {
"class": "table table-striped table-hover",
Expand Down
30 changes: 29 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ django-extensions = "^3.1.3"
tqdm = "^4.67.1"
pandas = "^2.2.2"
django-select2 = "^8.2.3"
tablib = {extras = ["xlsx"], version = "^3.8.0"}


[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit f7f4925

Please sign in to comment.