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
2f02496c
Commit
2f02496c
authored
Jun 13, 2013
by
Carlos Andrés Rocha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorder imports on module_render
parent
4c269c10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
lms/djangoapps/courseware/module_render.py
+14
-12
No files found.
lms/djangoapps/courseware/module_render.py
View file @
2f02496c
...
...
@@ -2,8 +2,6 @@ import json
import
logging
import
re
import
sys
import
static_replace
from
functools
import
partial
from
django.conf
import
settings
...
...
@@ -15,27 +13,31 @@ from django.http import Http404
from
django.http
import
HttpResponse
,
HttpResponseBadRequest
from
django.views.decorators.csrf
import
csrf_exempt
import
pyparsing
from
requests.auth
import
HTTPBasicAuth
from
statsd
import
statsd
from
capa.xqueue_interface
import
XQueueInterface
from
courseware.masquerade
import
setup_masquerade
from
courseware.access
import
has_access
from
mitxmako.shortcuts
import
render_to_string
from
.models
import
StudentModule
from
psychometrics.psychoanalyze
import
make_psychometrics_data_update_handler
from
student.models
import
unique_id_for_user
from
xblock.runtime
import
DbModel
from
xmodule.error_module
import
ErrorDescriptor
,
NonStaffErrorDescriptor
from
xmodule.errortracker
import
exc_info_to_str
from
xmodule.exceptions
import
NotFoundError
,
ProcessingError
from
xmodule.modulestore
import
Location
from
xmodule.modulestore.django
import
modulestore
from
xmodule.modulestore.exceptions
import
ItemNotFoundError
from
xmodule.x_module
import
ModuleSystem
from
xmodule.error_module
import
ErrorDescriptor
,
NonStaffErrorDescriptor
from
xblock.runtime
import
DbModel
from
xmodule_modifiers
import
replace_course_urls
,
replace_static_urls
,
add_histogram
,
wrap_xmodule
from
.model_data
import
LmsKeyValueStore
,
LmsUsage
,
ModelDataCache
from
xmodule.modulestore.exceptions
import
ItemNotFoundError
from
statsd
import
statsd
import
static_replace
from
psychometrics.psychoanalyze
import
make_psychometrics_data_update_handler
from
student.models
import
unique_id_for_user
from
courseware.access
import
has_access
from
courseware.masquerade
import
setup_masquerade
from
courseware.model_data
import
LmsKeyValueStore
,
LmsUsage
,
ModelDataCache
from
courseware.models
import
StudentModule
log
=
logging
.
getLogger
(
__name__
)
...
...
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