discussions in class

This commit is contained in:
Jannat Patel
2023-07-11 19:29:30 +05:30
parent 9e5cd84214
commit d763dba204
5 changed files with 45 additions and 14 deletions
+3
View File
@@ -34,6 +34,9 @@ def get_context(context):
as_dict=True,
)
context.reference_doctype = "LMS Class"
context.reference_name = class_name
context.published_courses = frappe.get_all(
"LMS Course", {"published": 1}, ["name", "title"]
)