fix: exercise conflict and progress member

This commit is contained in:
Jannat Patel
2023-03-03 18:03:35 +05:30
parent 23c78d5801
commit 9b7817a57f
16 changed files with 42 additions and 29 deletions

View File

@@ -119,7 +119,7 @@ def quiz_renderer(quiz_name):
def exercise_renderer(argument):
exercise = frappe.get_doc("Exercise", argument)
exercise = frappe.get_doc("LMS Exercise", argument)
context = dict(exercise=exercise)
return frappe.render_template("templates/exercise.html", context)