By default, generic views will be disabled, it is a security issue,

but you can active at your own risk.

in any model file include


response.generic_patterns = ['*']


And it will enable all generic views.


Massimo needs to update the example app to get this working again.


On Thu, Jun 30, 2011 at 2:33 AM, Gary Herron <gher...@digipen.edu> wrote:

> I'm getting an occasional "invalid view" error since I upgraded to 1.97.1.
>  Since  it was on a web site I was experimenting/learning with, I thought it
> might be my problem, but I no longer think so.
>
> On controllers with no corresponding view, there is supposed to be a
> generic view which handles the formating of the page -- but that seems to
> have gotten lost in 1.97.1 -- in at least some cases.
>
> Here is a page right out of web2py.com which (I'm pretty sure) used to
> work, but now exhibits this error:
> Visit
>    
> http://web2py.com/examples/**simple_examples/hello6<http://web2py.com/examples/simple_examples/hello6>
> and get
>    invalid view (simple_examples/hello6.html)
>
> Any clues, fixes, explanations would be welcome.
>
> Thanks,
>
> Gary Herron
>
> --
> Gary Herron, PhD.
> Department of Computer Science
> DigiPen Institute of Technology
> (425) 895-4418
>
>
>


-- 



--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
[ Aprenda a programar: http://CursoDePython.com.br ]
[ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
[ Consultoria em desenvolvimento web: http://www.blouweb.com ]

Reply via email to