Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

xlrd / xlwt requirements not specified #216

Open
ketaro opened this issue Dec 31, 2020 · 0 comments
Open

xlrd / xlwt requirements not specified #216

ketaro opened this issue Dec 31, 2020 · 0 comments

Comments

@ketaro
Copy link

ketaro commented Dec 31, 2020

When attempting to export a form on a fresh install, get the following error:

  File "/home/nicka/repos/xxxxx/env/lib/python3.8/site-packages/aldryn_forms/admin/views.py", line 96, in done
    response = HttpResponse(dataset.xls, content_type=content_type)
AttributeError: 'Dataset' object has no attribute 'xls'

It's easily fixed by doing a pip install "tablib[xls]", but the dependancies for xlrd and xlwt should be added.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant