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
92318ccc
Commit
92318ccc
authored
Oct 13, 2017
by
Robert Raposa
Committed by
GitHub
Oct 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16217 from edx/robrap/fix-outline-caching
LEARNER-2819: Fix caching of course_outline_root_block.
parents
87b43ba0
1a66ae36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openedx/features/course_experience/utils.py
+2
-2
No files found.
openedx/features/course_experience/utils.py
View file @
92318ccc
...
...
@@ -5,11 +5,11 @@ from opaque_keys.edx.keys import CourseKey
from
lms.djangoapps.course_api.blocks.api
import
get_blocks
from
lms.djangoapps.course_blocks.utils
import
get_student_module_as_dict
from
openedx.core.lib.cache_utils
import
memoiz
ed
from
request_cache.middleware
import
request_cach
ed
from
xmodule.modulestore.django
import
modulestore
@
memoiz
ed
@
request_cach
ed
def
get_course_outline_block_tree
(
request
,
course_id
):
"""
Returns the root block of the course outline, with children as blocks.
...
...
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