From 355f54db996314e8f5545e0cf92dfb4a6ae85cec Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Wed, 7 Sep 2016 12:47:14 -0500 Subject: [PATCH] Improve code Q permissions warning --- course/page/code.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/course/page/code.py b/course/page/code.py index c23fa645..dfd2e759 100644 --- a/course/page/code.py +++ b/course/page/code.py @@ -477,9 +477,11 @@ class PythonCodeQuestion(PageBaseWithTitle, PageBaseWithValue): if not is_multi_submit: vctx.add_warning(location, _("code question does not explicitly " "allow multiple submission. Either add " - "access_rules/add_permssion/change_answer " + "access_rules/add_permssions/change_answer " "or add 'single_submission: True' to confirm that you intend " - "for only a single submission to be allowed.")) + "for only a single submission to be allowed. " + "While you're at it, consider adding " + "access_rules/add_permssions/see_correctness.")) def required_attrs(self): return super(PythonCodeQuestion, self).required_attrs() + ( -- GitLab