feat: batch folders, redirects, members page

This commit is contained in:
pateljannat
2021-04-26 10:16:53 +05:30
parent c18916096e
commit 44dc42d7dd
21 changed files with 262 additions and 24 deletions

View File

@@ -0,0 +1,10 @@
import frappe
from community.www.courses.utils import redirect_if_not_a_member
def get_context(context):
context.no_cache = 1
context.course = frappe.form_dict["course"]
context.batch_code = frappe.form_dict["batch"]
redirect_if_not_a_member(context.course, context.batch_code)
print(context)