feat: redesign lesson page
This commit is contained in:
8
lms/www/courses/outline.py
Normal file
8
lms/www/courses/outline.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import frappe
|
||||
|
||||
|
||||
def get_context(context):
|
||||
context.no_cache = 1
|
||||
context.course = frappe.db.get_value(
|
||||
"LMS Course", frappe.form_dict["course"], ["name", "title"], as_dict=True
|
||||
)
|
||||
Reference in New Issue
Block a user