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

Improve Poll Page Preview #527

Open
lukasrad02 opened this issue Feb 25, 2024 · 0 comments
Open

Improve Poll Page Preview #527

lukasrad02 opened this issue Feb 25, 2024 · 0 comments

Comments

@lukasrad02
Copy link
Contributor

Currently, the preview of a poll cannot be used to preview a poll including its options:

  • When viewing the preview before or after the voting period, one can only see the poll description and the notice You've accessed this page outside of the voting period., but not the poll options. I would wish to be able to see the options in the preview for easier reviews.
  • When viewing the preview during the voting period, rendering fails with the error 'FakeQuerySet' object has no attribute 'intersection' at {% if page|can_vote:request.user %}. I would wish for the preview to ignore the permissions of the user and always show the options.

During these changes, we should forbid submitting actual votes if this is not already implemented (couldn't check due to the error mentioned above).

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

No branches or pull requests

2 participants