chore: fixed config

This commit is contained in:
Jannat Patel
2023-11-30 16:03:06 +05:30
parent 92edb3a1bf
commit 644fb698d8
6 changed files with 242 additions and 266 deletions

13
lms/www/lms.py Normal file
View File

@@ -0,0 +1,13 @@
# Copyright (c) 2022, Frappe Technologies Pvt. Ltd. and Contributors
# GNU GPLv3 License. See license.txt
import frappe
no_cache = 1
def get_context(context):
csrf_token = frappe.sessions.get_csrf_token()
frappe.db.commit()
context.csrf_token = csrf_token