The code included in the scaffolding app is intended to disable all generic 
views by default unless the requests are local (this is for security 
reasons, as the generic views can expose data not intended to be exposed). 
We do not want to enable generic.html by default either. Are you finding 
generic views disabled even with local requests?

Anthony

On Thursday, April 2, 2015 at 4:17:52 AM UTC-4, Dmitry Ermolaev wrote:
>
> When I make new app by Wizard
>
> if make in db.py
> response.generic_patterns = ['*'] if request.is_local else []
>
> and all others controllers is disabled!
>
> please insert this code instead in db.py:
> response.generic_patterns = ['*'] if request.is_local else ['html']
>
>

-- 
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.

Reply via email to