Files
enlight-lms/lms/patches/v2_0/sidebar_settings.py
2024-05-29 17:16:09 +05:30

16 lines
223 B
Python

import frappe
def execute():
fields = [
"courses",
"batches",
"certified_participants",
"jobs",
"statistics",
"notifications",
]
for field in fields:
frappe.db.set_single_value("LMS Settings", field, 1)