'Initialize and construct course summary
Arguments:
course_locator (CourseLocator):  CourseLocator object of the course.
display_name (unicode): display name of the course. When you create a course from console, display_name
isn\'t set (course block has no key `display_name`). "Empty" name is returned when we load the course.
If `display_name` isn\'t present in the course block, use the `Empty` as default display name.
We can set None as a display_name in Course Advance Settings; Do not use "Empty" when display_name is
set to None.
display_coursenumber (unicode|None): Course number that is specified & appears in the courseware
display_organization (unicode|None): Course organization that is specified & appears in the courseware
end (unicode|None): Course end date.  Must contain timezone.'

def __init__(self, course_locator, display_name=u'Empty', display_coursenumber=None, display_organization=None, end=None):

    self.display_coursenumber = display_coursenumber
    self.display_organization = display_organization
    self.display_name = display_name
    self.id = course_locator
    self.location = course_locator.make_usage_key('course', 'course')
    self.end = end
    if ((end is not None) and (not isinstance(end, datetime))):
        self.end = dateutil.parser.parse(end)
