Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProgrammingError can't adapt type 'SimpleLazyObject' #96

Open
ebdavison opened this issue Aug 10, 2020 · 1 comment
Open

ProgrammingError can't adapt type 'SimpleLazyObject' #96

ebdavison opened this issue Aug 10, 2020 · 1 comment

Comments

@ebdavison
Copy link

ebdavison commented Aug 10, 2020

After an upgrade to Django 3.1 (with django-survey-and-report==1.3.14 in my requirements.txt file), I am receiving an Internal Error 500 with this text whenever I try to submit a survey:

ProgrammingError
can't adapt type 'SimpleLazyObject'

This seems to be the relevant parameter info:

image

And this is the resulting query:

image

@Pierre-Sassoulas
Copy link
Owner

Thank you for reporting the bug, it's probably fixable with this stackoverflow answer https://stackoverflow.com/questions/31226625/. A date range might have been implemented incorrectly. I will release a new version if a fix + a migration file is proposed by pull request.

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

No branches or pull requests

2 participants