Hi, I have this code :
def browser_email(): response.view = 'templates/email_verification.html' return
dict(
verification_url_on_site_enabled=False,
illustration_image_enabled=False,
main_title_enabled=False
)
which works if I call the view directly in the browser through its
URL but does not if I want to run the application it belongs to : it
returns an :
"verification_url_on_site_enabled is not defined" error.
Anyone could explain to me why ?
Thank you,
--
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”
Diogene Laerce
--
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.
signature.asc
Description: OpenPGP digital signature

