Files
enlight-lms/lms/www/batch/quiz_list.py
2022-11-04 11:47:09 +05:30

9 lines
168 B
Python

import frappe
def get_context(context):
context.no_cache = 1
context.quiz_list = frappe.get_all(
"LMS Quiz", {"owner": frappe.session.user}, ["name", "title"]
)