ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Bug: webpages get_context not working

Hi guys, I have been trying to return context from .py to display in front end html file through jinja templating. This issue started happening after upgrading to v13.

Older html and their context is working fine, only new html and updating context for the older html not working. Already tried clearing cache and etc.

.py
def get_context(context):
context.testing = frappe.session.user
return context

.html
{{testing}}

It just literally shows “{{testing}}” instead of the value testing variable holds.
Anybody can point me in the right direction? Appreciate it.