ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Web page context not loading

I have added html and py file of the same name into the www folder of my custom app.
image

Have added the get_context function as per documentation
image

But the py file isn’t loaded nor does it work.
Is there something else I need to do? Please guide.

Hi, did you solve your issue? Can you share if you did solve the issue as I am facing the same issue.

Appreciate it much.

Hai, I was able to solve it.
You just have to add __init__.py file into that folder.

I do have that file with content as below:

-- coding: utf-8 --

from future import unicode_literals

version = ‘0.0.1’

seems like my issue is something else?

Do you have it in the same folder as your html and py files?

yes, I do. Previously I had no issue before the upgrade to v13, only now I cant longer change/update existing context or for new pages. Old context is working fine without issue.