From 98ec11891584c788894c0839215f20b90c57c6ff Mon Sep 17 00:00:00 2001 From: Douglas Hall Date: Mon, 29 Aug 2016 13:50:28 -0400 Subject: [PATCH] Allow for site override of EDITABLE_SHORT_DESCRIPTION setting --- cms/djangoapps/contentstore/views/course.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/views/course.py b/cms/djangoapps/contentstore/views/course.py index 7d71f180d3..70686f0353 100644 --- a/cms/djangoapps/contentstore/views/course.py +++ b/cms/djangoapps/contentstore/views/course.py @@ -990,7 +990,11 @@ def settings_handler(request, course_key_string): about_page_editable = not marketing_site_enabled enrollment_end_editable = GlobalStaff().has_user(request.user) or not marketing_site_enabled - short_description_editable = settings.FEATURES.get('EDITABLE_SHORT_DESCRIPTION', True) + short_description_editable = configuration_helpers.get_value_for_org( + course_module.location.org, + 'EDITABLE_SHORT_DESCRIPTION', + settings.FEATURES.get('EDITABLE_SHORT_DESCRIPTION', True) + ) self_paced_enabled = SelfPacedConfiguration.current().enabled settings_context = {