-
Notifications
You must be signed in to change notification settings - Fork 146
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
Dropped Courses #2262
base: main
Are you sure you want to change the base?
Dropped Courses #2262
Conversation
6545c8d
to
9ea80f3
Compare
d91a83b
to
2f42c54
Compare
2f42c54
to
e2e836e
Compare
evap/evaluation/models.py
Outdated
if self.type != Questionnaire.Type.DROPOUT: | ||
raise ValueError("Can only set DROPOUT-type Questionnaires as active dropout questionnaire.") |
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.
probably fair to just use an assertion -- or do we expect this to ever happen for a correct program execution?
c24d5dd
to
178fc31
Compare
0c1711f
to
2f3043b
Compare
dc783bf
to
96e9dc7
Compare
1fa6eb3
to
5a312ec
Compare
2cb0daf
to
cfcf4fd
Compare
cfcf4fd
to
0f5c592
Compare
9b73be5
to
a88760b
Compare
9993ca6
to
c89627a
Compare
@janno42 New proposal: You can add drop-out-questionnaires for each evaluation, just like adding general questionnaires. Simply by having at least one drop-out-questionnaire, the A) Does this seem like a good idea? and B) Do we still need to have the whole "active-drop-out-questionnaire" logic if we implement it like that? |
4933bf8
to
b722b2d
Compare
b722b2d
to
9b1ca48
Compare
The typing HttpRequest also allows for AnonymousUser as request.user. In the future, we probably should add a custom HttpRequest class that correctly states that request.user must be a UserProfile.
3ea84f6
to
45b04fb
Compare
fixes #991
(@janno42) As discussed, we want:
A setting "DROPOUT_QUESTIONNAIRE_ID" to set which questionnaire should be shown when using the drop-out function.