In one of my controllers I send a mail. The mail has its own view. 

usermessage = response.render('mail/send/username.html', usercontext)
usermail = mail.send(to=[recipient], subject='Your username', 
message=[None, usermessage])


I put this view in a subfolder and forgot to adjust the controller, so 
web2py uses the generic.html
view to render the mail. In this case the view renders all settings of db, 
session, env et cetera.

Is there a way to disable this behaviour? When a view cannot be found I do 
not want display
all setting to the visitor.


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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to