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
b4e8ab90
Commit
b4e8ab90
authored
Jul 07, 2015
by
Brandon DeRosier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Add feature flag for Import/Export API in LMS"
This reverts commit
85b3bfe4
.
parent
0158ebca
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
16 deletions
+4
-16
lms/envs/common.py
+0
-3
lms/envs/test.py
+0
-3
lms/urls.py
+0
-6
openedx/core/djangoapps/import_export/courses/tests/utils.py
+4
-4
No files found.
lms/envs/common.py
View file @
b4e8ab90
...
...
@@ -414,9 +414,6 @@ FEATURES = {
# Credit course API
'ENABLE_CREDIT_API'
:
False
,
# Full Course/Library Import/Export API
'ENABLE_IMPORT_EXPORT_LMS'
:
False
,
# The block types to disable need to be specified in "x block disable config" in django admin.
'ENABLE_DISABLING_XBLOCK_TYPES'
:
True
,
}
...
...
lms/envs/test.py
View file @
b4e8ab90
...
...
@@ -494,6 +494,3 @@ PROFILE_IMAGE_MIN_BYTES = 100
FEATURES
[
'ENABLE_LTI_PROVIDER'
]
=
True
INSTALLED_APPS
+=
(
'lti_provider'
,)
AUTHENTICATION_BACKENDS
+=
(
'lti_provider.users.LtiBackend'
,)
# Enable the Full Course/Library Import/Export API
FEATURES
[
'ENABLE_IMPORT_EXPORT_LMS'
]
=
True
lms/urls.py
View file @
b4e8ab90
...
...
@@ -93,12 +93,6 @@ urlpatterns = (
url
(
r'^api/commerce/'
,
include
(
'commerce.api.urls'
,
namespace
=
'commerce_api'
)),
)
# Full Course/Library Import/Export API
if
settings
.
FEATURES
[
"ENABLE_IMPORT_EXPORT_LMS"
]:
urlpatterns
+=
(
url
(
r'^api/import_export/v1/'
,
include
(
'openedx.core.djangoapps.import_export.urls'
)),
)
if
settings
.
FEATURES
[
"ENABLE_COMBINED_LOGIN_REGISTRATION"
]:
# Backwards compatibility with old URL structure, but serve the new views
urlpatterns
+=
(
...
...
openedx/core/djangoapps/import_export/courses/tests/utils.py
View file @
b4e8ab90
...
...
@@ -3,16 +3,16 @@ Utilities for contentstore tests
'''
from
datetime
import
timedelta
from
django.conf
import
settings
from
django.utils
import
timezone
from
provider.oauth2.models
import
AccessToken
,
Client
as
OAuth2Client
from
provider
import
constants
from
django.utils
import
timezone
from
rest_framework.test
import
APIClient
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
from
xmodule.modulestore.tests.factories
import
CourseFactory
from
django.conf
import
settings
from
provider.oauth2.models
import
AccessToken
,
Client
as
OAuth2Client
from
provider
import
constants
TEST_DATA_DIR
=
settings
.
COMMON_TEST_DATA_ROOT
...
...
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