-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Add question restrictions to polls #7206
Add question restrictions to polls #7206
Conversation
…e/add-question-restrictions
Codecov Report
@@ Coverage Diff @@
## master #7206 +/- ##
==========================================
+ Coverage 26.18% 26.20% +0.02%
==========================================
Files 297 297
Lines 29385 29390 +5
Branches 4342 4343 +1
==========================================
+ Hits 7694 7702 +8
+ Misses 21420 21417 -3
Partials 271 271
Continue to review full report at Codecov.
|
app/dashboard/models.py
Outdated
@@ -5191,6 +5191,10 @@ class Question(SuperModel): | |||
('OPEN', 'Open'), | |||
) | |||
|
|||
TYPE_RESTRICTIONS = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this used anywhere ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed, thanks @thelostone-mc :)
minimum character count for open questions looks good Can you show the functionality of where we can toggle each question on or off for the restriction? otherwise LGTM |
yayyyy |
Description
https://www.loom.com/share/3ccdcc43a69d42c387481be328dddb29
Refers/Fixes
closes #7181
Testing