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
OpenEdx
edx-platform
Commits
696560b7
Commit
696560b7
authored
Sep 08, 2017
by
Dillon Dumesnil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v0.51
parent
e98a9c79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
lms/djangoapps/review/get_review_ids.py
+2
-1
No files found.
lms/djangoapps/review/get_review_ids.py
View file @
696560b7
...
@@ -35,7 +35,8 @@ def get_records(num_desired, current_course):
...
@@ -35,7 +35,8 @@ def get_records(num_desired, current_course):
# local_template_url = '/xblock/block-v1:{course_id}+type@problem+block@{problem_id}'
# local_template_url = '/xblock/block-v1:{course_id}+type@problem+block@{problem_id}'
urls
=
[]
urls
=
[]
for
problem
in
problems_to_show
:
for
problem
in
problems_to_show
:
urls
.
append
(
local_template_url
.
format
(
course_id
=
review_course_id
,
problem_id
=
problem
))
urls
.
append
(
template_url
.
format
(
course_id
=
review_course_id
,
problem_id
=
problem
))
# urls.append(local_template_url.format(course_id=review_course_id, problem_id=problem))
return
urls
return
urls
# return template_url.format(course_id=review_course_id, problem_id=problem_to_show)
# return template_url.format(course_id=review_course_id, problem_id=problem_to_show)
# return 'https://courses.edx.org/xblock/block-v1:MITx+6.002.1x_1+2T2016+type@problem+block@903ce05eb08e452ba9991a2756d3cce2'
# return 'https://courses.edx.org/xblock/block-v1:MITx+6.002.1x_1+2T2016+type@problem+block@903ce05eb08e452ba9991a2756d3cce2'
...
...
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