>
> Doesn't the decorator have to go on the "def call():"  (bottom of 
> default.py in the welcome app) ?
>  <URL:
> http://web2py.com/books/default/chapter/29/10/services#Services-and-Authentication
>  
> <http://www.google.com/url?q=http%3A%2F%2Fweb2py.com%2Fbooks%2Fdefault%2Fchapter%2F29%2F10%2Fservices%23Services-and-Authentication&sa=D&sntz=1&usg=AFQjCNGU84A1LHU3etfoqDIhhqXf0l2_Rw>
> >
>

That's not relevant here, as it applies to the Service() class, not 
functions decorated with @request.restful (if you look at the previous 
section, it shows the @auth.requires_login decorator used in conjunction 
with @request.restful).

Anthony

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to