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
f511a5e0
Commit
f511a5e0
authored
May 09, 2012
by
Piotr Mitros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed parameters from **args based on code review
parent
f187a9e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
djangoapps/courseware/module_render.py
+4
-4
No files found.
djangoapps/courseware/module_render.py
View file @
f511a5e0
...
...
@@ -35,11 +35,11 @@ import courseware.modules
log
=
logging
.
getLogger
(
"mitx.courseware"
)
class
I4xSystem
(
object
):
def
__init__
(
self
,
**
args
):
self
.
ajax_url
=
a
rgs
[
'ajax_url'
]
self
.
track_function
=
args
[
'track_function'
]
def
__init__
(
self
,
ajax_url
,
track_function
,
render_function
,
filestore
=
None
):
self
.
ajax_url
=
a
jax_url
self
.
track_function
=
track_function
self
.
filestore
=
OSFS
(
settings
.
DATA_DIR
)
self
.
render_function
=
args
[
'render_function'
]
self
.
render_function
=
render_function
self
.
exception404
=
Http404
def
object_cache
(
cache
,
user
,
module_type
,
module_id
):
...
...
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