You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
When trying to export form submissions as a Microsoft Excel file, I get an AttributeError. Other export formats work fine.
The traceback looks like this:
[25/Sep/2020 10:03:44] "POST /admin/djangocms_forms/formsubmission/export/ HTTP/1.1" 200 76
/home/vagrant/project/lib/python3.6/site-packages/django/db/models/fields/init.py:1393: RuntimeWarning: DateTimeField FormSubmission.creation_date received a naive datetime (2020-09-25 00:00:00) while time zone support is active.
RuntimeWarning)
/home/vagrant/project/lib/python3.6/site-packages/django/db/models/fields/init.py:1393: RuntimeWarning: DateTimeField FormSubmission.creation_date received a naive datetime (2020-09-26 00:00:00) while time zone support is active.
RuntimeWarning)
2020-09-25 10:05:21,005 django.request ERROR Internal Server Error: /admin/djangocms_forms/formsubmission/export/
Traceback (most recent call last):
File "/home/vagrant/project/lib/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/home/vagrant/project/lib/python3.6/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/vagrant/project/lib/python3.6/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3.6/contextlib.py", line 52, in inner
return func(*args, **kwds)
File "/home/vagrant/project/lib/python3.6/site-packages/djangocms_forms/admin.py", line 105, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
File "/home/vagrant/project/lib/python3.6/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/home/vagrant/project/lib/python3.6/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/vagrant/project/lib/python3.6/site-packages/django/contrib/admin/sites.py", line 224, in inner
return view(request, *args, **kwargs)
File "/home/vagrant/project/lib/python3.6/site-packages/djangocms_forms/admin.py", line 238, in export_view
getattr(dataset, file_type), {
AttributeError: 'Dataset' object has no attribute 'xls'
Did I miss something while configuring or is there somehting else going on?
The text was updated successfully, but these errors were encountered:
When trying to export form submissions as a Microsoft Excel file, I get an AttributeError. Other export formats work fine.
The traceback looks like this:
Did I miss something while configuring or is there somehting else going on?
The text was updated successfully, but these errors were encountered: