Refactor CourseDetails

This commit is contained in:
Nimisha Asthagiri
2015-12-03 16:29:59 -05:00
parent d170c92f3b
commit d6ced072c4
10 changed files with 435 additions and 351 deletions

View File

@@ -660,7 +660,8 @@ def check_mongo_calls(num_finds=0, num_sends=None):
# This dict represents the attribute keys for a course's 'about' info.
# Note: The 'video' attribute is intentionally excluded as it must be
# handled separately; its value maps to an alternate key name.
# Reference : cms/djangoapps/models/settings/course_details.py
# Reference : from openedx.core.djangoapps.models.course_details.py
ABOUT_ATTRIBUTES = {
'effort': "Testing effort",