refactor: moved courses/*/index pages to batch/*
This commit is contained in:
8
community/www/batch/members.py
Normal file
8
community/www/batch/members.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import frappe
|
||||
from . import utils
|
||||
|
||||
def get_context(context):
|
||||
utils.get_common_context(context)
|
||||
|
||||
context.members = utils.get_batch_members(context.batch.name)
|
||||
context.member_count = len(context.members)
|
||||
Reference in New Issue
Block a user