added get_cohort_ids

This commit is contained in:
Your Name
2013-01-18 13:50:05 -05:00
parent dba39e2431
commit b8e3cfcf96

View File

@@ -78,8 +78,12 @@ def is_commentable_cohorted(course_id,commentable_id)
given a course and a commentable id, return whether or not this commentable is cohorted
"""
def get_cohort_ids(course_id):
"""
given a course id, return an array of all cohort ids for that course (needed for UI
"""
def course_image_url(course):
"""Try to look up the image url for the course. If it's not found,