Merge pull request #731 from MITx/feature/ichuang/symmath_improvements

improvements in symbolic math checking.

Merging now because it is needed for Physics courses.
This commit is contained in:
ichuang
2012-09-25 19:36:02 -07:00
3 changed files with 58 additions and 13 deletions

View File

@@ -173,7 +173,7 @@ def get_course_tabs(user, course, active_page):
"""
Return the tabs to show a particular user, as a list of CourseTab items.
"""
if not course.tabs:
if not hasattr(course,'tabs') or not course.tabs:
return get_default_tabs(user, course, active_page)
# TODO (vshnayder): There needs to be a place to call this right after course