feat: activity details in class

This commit is contained in:
Jannat Patel
2022-11-24 18:57:45 +05:30
parent c0a851e045
commit 807f77755e
15 changed files with 162 additions and 70 deletions

View File

@@ -21,6 +21,7 @@ def get_context(context):
["name", "title", "start_date", "end_date", "description"],
as_dict=True,
)
context.published_courses = frappe.get_all(
"LMS Course", {"published": 1}, ["name", "title"]
)