HI all
I am using ERPNext 7.
I need a new webpage so i have created a test.html and test.py in
apps > mycustom app > mycustom app > www
(test.html is the copy of about.html and test.py is the copy of about.py)
Also i add a menu in Website Settings > TOP BAR > 4. Test
Now I refreshed site and saw the menu ‘Test’ right on the top bar.
But when i click it, it shows error…
What steps i need to do now?
Traceback (most recent call last):
File "/home/amalendu/frappe-bench/apps/frappe/frappe/website/render.py", line 32, in render
data = render_page_by_language(path)
File "/home/amalendu/frappe-bench/apps/frappe/frappe/website/render.py", line 101, in render_page_by_language
return render_page(path)
File "/home/amalendu/frappe-bench/apps/frappe/frappe/website/render.py", line 117, in render_page
return build(path)
File "/home/amalendu/frappe-bench/apps/frappe/frappe/website/render.py", line 124, in build
return build_page(path)
File "/home/amalendu/frappe-bench/apps/frappe/frappe/website/render.py", line 137, in build_page
context = get_context(path)
File "/home/amalendu/frappe-bench/apps/frappe/frappe/website/context.py", line 19, in get_context
context = build_context(context)
File "/home/amalendu/frappe-bench/apps/frappe/frappe/website/context.py", line 65, in build_context
module = frappe.get_module(context.controller)
File "/home/amalendu/frappe-bench/apps/frappe/frappe/__init__.py", line 643, in get_module
return importlib.import_module(modulename)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named www.test