fix: redirects and urls
This commit is contained in:
@@ -26,8 +26,8 @@ def get_common_context(context):
|
||||
|
||||
context.members = course.get_mentors(membership.batch) + course.get_students(membership.batch)
|
||||
context.member_count = len(context.members)
|
||||
context.course.query_parameter = "?batch=" + batch.name if batch else ""
|
||||
print(context.membership)
|
||||
|
||||
context.course.query_parameter = "?batch=" + membership.batch if membership and membership.batch else ""
|
||||
context.livecode_url = get_livecode_url()
|
||||
|
||||
def get_livecode_url():
|
||||
|
||||
Reference in New Issue
Block a user