Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
bd94474a
Commit
bd94474a
authored
12 years ago
by
Victor Shnayder
Browse files
Options
Downloads
Patches
Plain Diff
improve docstring
parent
7190e484
No related branches found
Branches containing commit
Tags
release-2021-04-26-14.10
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/lib/xmodule/xmodule/self_assessment_module.py
+8
-0
8 additions, 0 deletions
common/lib/xmodule/xmodule/self_assessment_module.py
with
8 additions
and
0 deletions
common/lib/xmodule/xmodule/self_assessment_module.py
+
8
−
0
View file @
bd94474a
...
...
@@ -373,6 +373,14 @@ class SelfAssessmentModule(XModule):
def
save_answer
(
self
,
get
):
"""
After the answer is submitted, show the rubric.
Args:
get: the GET dictionary passed to the ajax request. Should contain
a key
'
student_answer
'
Returns:
Dictionary with keys
'
success
'
and either
'
error
'
(if not success),
or
'
rubric_html
'
(if success).
"""
# Check to see if attempts are less than max
if
self
.
attempts
>
self
.
max_attempts
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment