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
341c6891
Commit
341c6891
authored
Oct 15, 2013
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1353 from edx/ned/rename-requests
Rename contentstore/views/requests to helpers
parents
e825cfb1
25a02747
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
6 deletions
+6
-6
cms/djangoapps/contentstore/tests/test_request_event.py
+1
-1
cms/djangoapps/contentstore/views/__init__.py
+1
-1
cms/djangoapps/contentstore/views/component.py
+1
-1
cms/djangoapps/contentstore/views/helpers.py
+0
-0
cms/djangoapps/contentstore/views/item.py
+1
-1
cms/djangoapps/contentstore/views/preview.py
+1
-1
common/lib/xmodule/xmodule/modulestore/tests/test_publish.py
+1
-1
No files found.
cms/djangoapps/contentstore/tests/test_request_event.py
View file @
341c6891
...
...
@@ -3,7 +3,7 @@ import mock
from
django.test
import
TestCase
from
django.core.urlresolvers
import
reverse
from
contentstore.views.
request
s
import
event
as
cms_user_track
from
contentstore.views.
helper
s
import
event
as
cms_user_track
class
CMSLogTest
(
TestCase
):
...
...
cms/djangoapps/contentstore/views/__init__.py
View file @
341c6891
...
...
@@ -9,13 +9,13 @@ from .checklist import *
from
.component
import
*
from
.course
import
*
from
.error
import
*
from
.helpers
import
*
from
.item
import
*
from
.import_export
import
*
from
.preview
import
*
from
.public
import
*
from
.user
import
*
from
.tabs
import
*
from
.requests
import
*
try
:
from
.dev
import
*
except
ImportError
:
...
...
cms/djangoapps/contentstore/views/component.py
View file @
341c6891
...
...
@@ -26,7 +26,7 @@ from contentstore.utils import (get_modulestore, get_lms_link_for_item,
from
models.settings.course_grading
import
CourseGradingModel
from
.
request
s
import
_xmodule_recurse
from
.
helper
s
import
_xmodule_recurse
from
.access
import
has_access
from
xmodule.x_module
import
XModuleDescriptor
from
xblock.plugin
import
PluginMissingError
...
...
cms/djangoapps/contentstore/views/
request
s.py
→
cms/djangoapps/contentstore/views/
helper
s.py
View file @
341c6891
File moved
cms/djangoapps/contentstore/views/item.py
View file @
341c6891
...
...
@@ -12,7 +12,7 @@ from xmodule.modulestore.inheritance import own_metadata
from
util.json_request
import
expect_json
,
JsonResponse
from
..utils
import
get_modulestore
from
.access
import
has_access
from
.
request
s
import
_xmodule_recurse
from
.
helper
s
import
_xmodule_recurse
from
xmodule.x_module
import
XModuleDescriptor
__all__
=
[
'save_item'
,
'create_item'
,
'delete_item'
]
...
...
cms/djangoapps/contentstore/views/preview.py
View file @
341c6891
...
...
@@ -22,7 +22,7 @@ from util.sandboxing import can_execute_unsafe_code
import
static_replace
from
.session_kv_store
import
SessionKeyValueStore
from
.
request
s
import
render_from_lms
from
.
helper
s
import
render_from_lms
from
.access
import
has_access
from
..utils
import
get_course_for_item
...
...
common/lib/xmodule/xmodule/modulestore/tests/test_publish.py
View file @
341c6891
...
...
@@ -129,7 +129,7 @@ class TestPublish(unittest.TestCase):
"""
Applies action depth-first down tree and to item last.
A copy of cms.djangoapps.contentstore.views.
request
s._xmodule_recurse to reproduce its use and behavior
A copy of cms.djangoapps.contentstore.views.
helper
s._xmodule_recurse to reproduce its use and behavior
outside of django.
"""
for
child
in
item
.
get_children
():
...
...
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