After upgrading to web2py 2.19.1 and switching to python 3.7 the
following no longer works.
I have a controller main with an index function that builds a
scaffold with header, content and footer.
The index function returns a variable:
content = LOAD('home', 'index', args=[vertexid, typeid, viewtypeid,
groupid, plural],
ajax=True, target='main-content', content='')
The view main/index.html extends layout.html and contains:
{{=content}}
The view home/index.load extends content/main.html which contains
{{include}} and a few includes like this one {{include 'content/hero'}}
This used to work well, in web2py 2.19 .1 it results in a 404 NOT FOUND
error
<div id="main-component"
data-w2p_remote="/init/home/index/427/1/5/28/False">404 NOT FOUND</div>
Any ideas why this no longer works?
Kind regards,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/80cd9fd9-7598-4444-bd51-441dafcd5ae8%40googlegroups.com.