mirror of
https://github.com/hanzo-io/beneficiary.git
synced 2026-10-30 18:58:28 +00:00
10 lines
156 B
Python
10 lines
156 B
Python
import frappe
|
|
|
|
no_cache = 1
|
|
|
|
|
|
def get_context(context):
|
|
csrf_token = frappe.sessions.get_csrf_token()
|
|
frappe.db.commit()
|
|
context.csrf_token = csrf_token
|