Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
321fc36e
Commit
321fc36e
authored
Aug 16, 2013
by
Adam
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #691 from edx/fix/adam/progress-page
in grading, if problem cannot be created, return score as none
parents
a2dcf9aa
8aee2251
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lms/djangoapps/courseware/grades.py
+2
-0
lms/envs/dev.py
+0
-2
No files found.
lms/djangoapps/courseware/grades.py
View file @
321fc36e
...
...
@@ -358,6 +358,8 @@ def get_score(course_id, user, problem_descriptor, module_creator, model_data_ca
# with the LMS, so they need to always be scored. (E.g. foldit.)
if
problem_descriptor
.
always_recalculate_grades
:
problem
=
module_creator
(
problem_descriptor
)
if
problem
is
None
:
return
(
None
,
None
)
score
=
problem
.
get_score
()
if
score
is
not
None
:
return
(
score
[
'score'
],
score
[
'total'
])
...
...
lms/envs/dev.py
View file @
321fc36e
...
...
@@ -31,8 +31,6 @@ MITX_FEATURES['ENABLE_SERVICE_STATUS'] = True
MITX_FEATURES
[
'ENABLE_HINTER_INSTRUCTOR_VIEW'
]
=
True
MITX_FEATURES
[
'ENABLE_INSTRUCTOR_BETA_DASHBOARD'
]
=
True
FEEDBACK_SUBMISSION_EMAIL
=
"dummy@dummy.org"
FEEDBACK_SUBMISSION_EMAIL
=
"dummy@example.com"
WIKI_ENABLED
=
True
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment