On Jan 18, 2007, at 11:10 PM, Raju Subban wrote:

Spot on ,  it solved the problem by calling encode in email.

I have not used validate before, It must be my syntax problem,
If I cut and paste your code I get the following error

Do not do that! 78% of all code I write using Mail has typos... ;)

Traceback (most recent call last):
  File "start-tutorial.py", line 23, in ?
    from tutorial.controllers import Root
File "/home/ma2/raju/turbogear/tutorial1/tutorial/tutorial/ controllers.py", line 15, in ?
    class Users:
File "/home/ma2/raju/turbogear/tutorial1/tutorial/tutorial/ controllers.py", line 32, in Users
    @expose()
NameError: name 'validate' is not defined
-------------------------------------------------------------
yes I have
from turbogears.validators import Email
At the top of the file.


from turbogears import validate

Alberto


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to