Don't use the validate decorator in the first-page example

--HG--
extra : rebase_source : 153daebe942416e88c82099eb362aeb757d7d6e7
This commit is contained in:
Christophe de Vienne 2013-02-08 21:42:39 +01:00
parent a1ec8103a7
commit dfeaea4f77

@ -26,8 +26,8 @@ Here is a standalone wsgi example::
from wsme import WSRoot, expose, validate
class MyService(WSRoot):
@expose(unicode)
@validate(unicode)
@expose(unicode, unicode) # First parameter is the return type,
# then the function argument types
def hello(self, who=u'World'):
return u"Hello {0} !".format(who)