From 4a12cb60c9bcbe80d299338757a49b3e9507c2ee Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Thu, 5 Sep 2013 12:43:24 -0400 Subject: [PATCH] due to the MixedModuleStore pending release, we need to make enrollment start/end dates editable in Studio --- cms/djangoapps/contentstore/tests/test_course_settings.py | 4 ++-- cms/envs/common.py | 2 +- cms/templates/settings.html | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/cms/djangoapps/contentstore/tests/test_course_settings.py b/cms/djangoapps/contentstore/tests/test_course_settings.py index 524dde07e5..071b590490 100644 --- a/cms/djangoapps/contentstore/tests/test_course_settings.py +++ b/cms/djangoapps/contentstore/tests/test_course_settings.py @@ -123,8 +123,8 @@ class CourseDetailsTestCase(CourseTestCase): self.assertContains(response, "Course Start Date") self.assertContains(response, "Course End Date") - self.assertNotContains(response, "Enrollment Start Date") - self.assertNotContains(response, "Enrollment End Date") + self.assertContains(response, "Enrollment Start Date") + self.assertContains(response, "Enrollment End Date") self.assertContains(response, "not the dates shown on your course summary page") self.assertNotContains(response, "Introducing Your Course") diff --git a/cms/envs/common.py b/cms/envs/common.py index 3e3b642b36..d0650e9ed2 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -55,7 +55,7 @@ MITX_FEATURES = { # If set to True, new Studio users won't be able to author courses unless # edX has explicitly added them to the course creator group. - 'ENABLE_CREATOR_GROUP': False + 'ENABLE_CREATOR_GROUP': False, } ENABLE_JASMINE = False diff --git a/cms/templates/settings.html b/cms/templates/settings.html index 4b7cdd0a56..3f6be3312e 100644 --- a/cms/templates/settings.html +++ b/cms/templates/settings.html @@ -152,7 +152,6 @@ from contentstore import utils - % if about_page_editable:
  1. @@ -182,7 +181,6 @@ from contentstore import utils
- % endif % if not about_page_editable: