On one of my pet projects, I created a view (.html) for my default/index
function, and it works fine. For my default/addsegment function (which
index redirects to if the form was accepted) I initially used the generic
view, but then I copied index.html to addsegement.html -- but I am still
getting the generic view. According to the Web2Py IDE, I spelled the file
name correctly, and it's located in views/default, so what should I check
next to get to the right display?
(the view is pretty simple, stripped down from the welcome app's
default/index.html; has
{{=form}}
in the center, and some links in the left sidebar. Works great for
myapp/default/index.html; addsegment returns a dict)
Dave
/dps
--
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].
For more options, visit https://groups.google.com/d/optout.