scmmishra | 6660a67 | 2018-10-08 17:18:11 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
2 | import frappe | ||||
3 | |||||
4 | |||||
5 | def get_context(context): | ||||
6 | context.current_course = frappe.get_doc("Course", frappe.form_dict["course"]) | ||||
7 | context.current_content = frappe.get_doc("Content", frappe.form_dict["content"]) | ||||
8 | next_content = get_next_content() |