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
e07f45b5
Commit
e07f45b5
authored
Mar 02, 2015
by
Usman Khalid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed cohort_config from advanced settings page.
TNL-1258
parent
eee6250f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
cms/djangoapps/models/settings/course_metadata.py
+1
-0
common/test/acceptance/pages/studio/settings_advanced.py
+0
-1
lms/djangoapps/django_comment_client/utils.py
+1
-2
No files found.
cms/djangoapps/models/settings/course_metadata.py
View file @
e07f45b5
...
...
@@ -18,6 +18,7 @@ class CourseMetadata(object):
# Should not be used directly. Instead the filtered_list method should
# be used if the field needs to be filtered depending on the feature flag.
FILTERED_LIST
=
[
'cohort_config'
,
'xml_attributes'
,
'start'
,
'end'
,
...
...
common/test/acceptance/pages/studio/settings_advanced.py
View file @
e07f45b5
...
...
@@ -154,7 +154,6 @@ class AdvancedSettingsPage(CoursePage):
'cert_name_long'
,
'cert_name_short'
,
'certificates_display_behavior'
,
'cohort_config'
,
'course_image'
,
'cosmetic_display_price'
,
'advertised_start'
,
...
...
lms/djangoapps/django_comment_client/utils.py
View file @
e07f45b5
...
...
@@ -405,7 +405,7 @@ def add_courseware_context(content_list, course, user, id_map=None):
content
.
update
({
"courseware_url"
:
url
,
"courseware_title"
:
title
})
def
prepare_content
(
content
,
course_key
,
is_staff
=
False
,
**
kwargs
):
def
prepare_content
(
content
,
course_key
,
is_staff
=
False
,
course_is_cohorted
=
None
):
"""
This function is used to pre-process thread and comment models in various
ways before adding them to the HTTP response. This includes fixing empty
...
...
@@ -459,7 +459,6 @@ def prepare_content(content, course_key, is_staff=False, **kwargs):
else
:
del
endorsement
[
"user_id"
]
course_is_cohorted
=
kwargs
.
get
(
'course_is_cohorted'
)
if
course_is_cohorted
is
None
:
course_is_cohorted
=
is_course_cohorted
(
course_key
)
...
...
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