Re: [pylons-discuss] noob question about redirections

2018-07-16 Thread Steve Piercy
Assuming this is the issue: i can see in the console that the view callable for home is called (prints "in my view") but it does not render. If you want to render the values passed into templates, they must have "slots" to accept those values. How else will the template know where it should

Re: [pylons-discuss] noob question about redirections

2018-07-16 Thread j...@live.com.mx
thanks for replying. my template.pt is the home page for the cookiecutter-starter. the big red pyramid page. i am not with the computer now, i will put those values in the template as you suggest. anyway, the fact that it works without problem when POSTing thru the form makes me think that it is

Re: [pylons-discuss] noob question about redirections

2018-07-16 Thread Steve Piercy
What's in your templates/mytemplate.pt? It should contain something that can display the dict that you return to it. See: https://chameleon.readthedocs.io/en/latest/reference.html#tal-content I would suggest that you return a variable to which you assign the dict, then return the variable, s

[pylons-discuss] noob question about redirections

2018-07-16 Thread jgmm
hi everyone. i am trying to do this simple? thing: . in a test page ("/test") send some parameters to the server using POST . when the view detects those paremeters, redirect to home ("/") i can get this to work but only if i post the values using a form, it does not work if i run a javascript f