fix: mentors cleanup

This commit is contained in:
pateljannat
2021-08-04 19:07:14 +05:30
parent a51c8de1eb
commit 037e946bbe
5 changed files with 10 additions and 106 deletions

View File

@@ -24,9 +24,6 @@ def get_common_context(context):
if batch:
context.batch = batch
context.members = course.get_mentors(membership.batch) + course.get_students(membership.batch)
context.member_count = len(context.members)
context.course.query_parameter = "?batch=" + membership.batch if membership and membership.batch else ""
context.livecode_url = get_livecode_url()