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
deb9148f
Commit
deb9148f
authored
Feb 17, 2016
by
Nimisha Asthagiri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused Mobile CourseBlocksAndNavigation endpoint.
parent
fa8ca11d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
261 deletions
+0
-261
lms/djangoapps/course_structure_api/v0/tests.py
+0
-233
lms/djangoapps/course_structure_api/v0/urls.py
+0
-24
lms/djangoapps/course_structure_api/v0/views.py
+0
-0
lms/envs/common.py
+0
-3
lms/envs/test.py
+0
-1
No files found.
lms/djangoapps/course_structure_api/v0/tests.py
View file @
deb9148f
This diff is collapsed.
Click to expand it.
lms/djangoapps/course_structure_api/v0/urls.py
View file @
deb9148f
...
...
@@ -20,27 +20,3 @@ urlpatterns = patterns(
name
=
'grading_policy'
),
)
if
settings
.
FEATURES
.
get
(
'ENABLE_COURSE_BLOCKS_NAVIGATION_API'
):
# TODO (MA-789) This endpoint still needs to be approved by the arch council.
# TODO (MA-704) This endpoint still needs to be made performant.
urlpatterns
+=
(
url
(
r'^courses/{}/blocks/$'
.
format
(
COURSE_ID_PATTERN
),
views
.
CourseBlocksAndNavigation
.
as_view
(),
{
'return_blocks'
:
True
,
'return_nav'
:
False
},
name
=
'blocks'
),
url
(
r'^courses/{}/navigation/$'
.
format
(
COURSE_ID_PATTERN
),
views
.
CourseBlocksAndNavigation
.
as_view
(),
{
'return_blocks'
:
False
,
'return_nav'
:
True
},
name
=
'navigation'
),
url
(
r'^courses/{}/blocks\+navigation/$'
.
format
(
COURSE_ID_PATTERN
),
views
.
CourseBlocksAndNavigation
.
as_view
(),
{
'return_blocks'
:
True
,
'return_nav'
:
True
},
name
=
'blocks+navigation'
),
)
lms/djangoapps/course_structure_api/v0/views.py
View file @
deb9148f
This diff is collapsed.
Click to expand it.
lms/envs/common.py
View file @
deb9148f
...
...
@@ -272,9 +272,6 @@ FEATURES = {
# ENABLE_OAUTH2_PROVIDER to True
'ENABLE_MOBILE_REST_API'
:
False
,
# Enable temporary APIs required for xBlocks on Mobile
'ENABLE_COURSE_BLOCKS_NAVIGATION_API'
:
False
,
# Enable the combined login/registration form
'ENABLE_COMBINED_LOGIN_REGISTRATION'
:
False
,
...
...
lms/envs/test.py
View file @
deb9148f
...
...
@@ -294,7 +294,6 @@ OIDC_COURSE_HANDLER_CACHE_TIMEOUT = 0
########################### External REST APIs #################################
FEATURES
[
'ENABLE_MOBILE_REST_API'
]
=
True
FEATURES
[
'ENABLE_VIDEO_ABSTRACTION_LAYER_API'
]
=
True
FEATURES
[
'ENABLE_COURSE_BLOCKS_NAVIGATION_API'
]
=
True
###################### Payment ##############################3
# Enable fake payment processing page
...
...
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