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
70e30d5b
Commit
70e30d5b
authored
Jun 16, 2016
by
Peter Desjardins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding Swagger configuration that I thought might not be needed.
parent
0fb95e90
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cms/envs/common.py
+1
-1
lms/djangoapps/course_api/serializers.py
+1
-1
No files found.
cms/envs/common.py
View file @
70e30d5b
...
...
@@ -47,7 +47,7 @@ import lms.envs.common
from
lms.envs.common
import
(
USE_TZ
,
TECH_SUPPORT_EMAIL
,
PLATFORM_NAME
,
BUGS_EMAIL
,
DOC_STORE_CONFIG
,
DATA_DIR
,
ALL_LANGUAGES
,
WIKI_ENABLED
,
update_module_store_settings
,
ASSET_IGNORE_REGEX
,
COPYRIGHT_YEAR
,
PARENTAL_CONSENT_AGE_LIMIT
,
COMPREHENSIVE_THEME_DIRS
,
REGISTRATION_EMAIL_PATTERNS_ALLOWED
,
PARENTAL_CONSENT_AGE_LIMIT
,
COMPREHENSIVE_THEME_DIRS
,
REGISTRATION_EMAIL_PATTERNS_ALLOWED
,
REGISTRATION_EXTRA_FIELDS
,
# The following PROFILE_IMAGE_* settings are included as they are
# indirectly accessed through the email opt-in API, which is
# technically accessible through the CMS via legacy URLs.
...
...
lms/djangoapps/course_api/serializers.py
View file @
70e30d5b
...
...
@@ -17,8 +17,8 @@ class _MediaSerializer(serializers.Serializer): # pylint: disable=abstract-meth
"""
def
__init__
(
self
,
uri_attribute
,
*
args
,
**
kwargs
):
self
.
uri_attribute
=
kwargs
.
pop
(
"uri_attribute"
,
None
)
super
(
_MediaSerializer
,
self
)
.
__init__
(
*
args
,
**
kwargs
)
self
.
uri_attribute
=
uri_attribute
uri
=
serializers
.
SerializerMethodField
(
source
=
'*'
)
...
...
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