From 277bd0dba6fc17ba3f7308c8f87ce1ff9cf0b891 Mon Sep 17 00:00:00 2001 From: Don Mitchell Date: Thu, 7 Feb 2013 09:50:16 -0500 Subject: [PATCH] Documentation update --- cms/djangoapps/models/settings/course_metadata.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cms/djangoapps/models/settings/course_metadata.py b/cms/djangoapps/models/settings/course_metadata.py index bbe2d8a66d..d088d75665 100644 --- a/cms/djangoapps/models/settings/course_metadata.py +++ b/cms/djangoapps/models/settings/course_metadata.py @@ -32,7 +32,9 @@ class CourseMetadata(object): @classmethod def update_from_json(cls, course_location, jsondict): """ - Decode the json into CourseMetadata and save any changed attrs to the db + Decode the json into CourseMetadata and save any changed attrs to the db. + + Ensures none of the fields are in the blacklist. """ descriptor = get_modulestore(course_location).get_item(course_location)