We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dccbaa6 commit 31dd09fCopy full SHA for 31dd09f
1 file changed
backend/application/commons/services/export.py
@@ -60,7 +60,7 @@ def export_excel(objects: QuerySet, title: str, excludes: list[str], foreign_key
60
value = str(getattr(current_object, key))
61
if value and isinstance(value, datetime):
62
value = value.replace(tzinfo=None)
63
- if value and (isinstance(value, list) or isinstance(value, dict)):
+ if value and isinstance(value, (dict, list)):
64
value = str(value)
65
value = _escape_formula(value)
66
try:
0 commit comments