Stanford-Online/class2go — pull request #1474 by jrbl (2012-12-11 22:38:05+00:00)
Title: Refactoring views for flexibility, reuse

* AdditionalPages.getSectionPageByCourse renamed globally to
AdditionalPage.getByCourse, for symmetry with other models

* Exams made made a groupable type in ContentManager
* ExamManager.getBySection added to work symmetrically with the other
groupable types

* Removing get_left_nav_content b/c it's only used to populate
get_full_contentsection_list options

* get_full_contentsection_list refactored extensively:
** accept optional filter_children parameter
** lazily loads contentgroup children only if necessary
** uses ContentGroup.groupable_types to build content lists iteratively