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
ea26b19d
Commit
ea26b19d
authored
Sep 11, 2013
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pylint/pep8 cleanup.
parent
1184a97b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cms/djangoapps/contentstore/views/checklist.py
+3
-3
No files found.
cms/djangoapps/contentstore/views/checklist.py
View file @
ea26b19d
...
...
@@ -38,7 +38,7 @@ def get_checklists(request, org, course, name):
course_module
.
save
()
modulestore
.
update_metadata
(
location
,
own_metadata
(
course_module
))
expanded_checklists
=
expand_all_
checklist_
action_urls
(
course_module
)
expanded_checklists
=
expand_all_action_urls
(
course_module
)
return
render_to_response
(
'checklists.html'
,
{
'context_course'
:
course_module
,
...
...
@@ -89,11 +89,11 @@ def update_checklist(request, org, course, name, checklist_index=None):
elif
request
.
method
==
'GET'
:
# In the JavaScript view initialize method, we do a fetch to get all
# the checklists.
expanded_checklists
=
expand_all_
checklist_
action_urls
(
course_module
)
expanded_checklists
=
expand_all_action_urls
(
course_module
)
return
JsonResponse
(
expanded_checklists
)
def
expand_all_
checklist_
action_urls
(
course_module
):
def
expand_all_action_urls
(
course_module
):
"""
Gets the checklists out of the course module and expands their action urls.
...
...
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