Closed diogotcorreia closed 3 years ago
Fetch cohort for user https://github.com/guipenedo/python-judge-xblock/blob/ba2d17f4a2421e3cbcedc13073cd0317158836ce/pythonjudge/pythonjudge.py#L414
Add Cohort header https://github.com/guipenedo/python-judge-xblock/blob/ba2d17f4a2421e3cbcedc13073cd0317158836ce/pythonjudge/templates/pyjudge_student.html#L51
Cohort
Add cohort value https://github.com/guipenedo/python-judge-xblock/blob/ba2d17f4a2421e3cbcedc13073cd0317158836ce/pythonjudge/templates/pyjudge_student.html#L61
cohort
https://github.com/edx/edx-platform/blob/151bd136667d27bf85256e382ed5b5ea0144e00f/openedx/core/djangoapps/course_groups/cohorts.py#L238
Closed with https://github.com/guipenedo/python-judge-xblock/commit/5288321f58959896503ea5b0c1a32a879c22a1a4 and https://github.com/guipenedo/python-judge-xblock/commit/a547df1a8d404bcc73cda274c086000acb2d10b8
Steps to add the cohort to the submissions table
Fetch cohort for user https://github.com/guipenedo/python-judge-xblock/blob/ba2d17f4a2421e3cbcedc13073cd0317158836ce/pythonjudge/pythonjudge.py#L414
Add
Cohort
header https://github.com/guipenedo/python-judge-xblock/blob/ba2d17f4a2421e3cbcedc13073cd0317158836ce/pythonjudge/templates/pyjudge_student.html#L51Add
cohort
value https://github.com/guipenedo/python-judge-xblock/blob/ba2d17f4a2421e3cbcedc13073cd0317158836ce/pythonjudge/templates/pyjudge_student.html#L61Useful Resources
https://github.com/edx/edx-platform/blob/151bd136667d27bf85256e382ed5b5ea0144e00f/openedx/core/djangoapps/course_groups/cohorts.py#L238