Thanks that line was the problem!

El lunes, 17 de junio de 2013 16:47:30 UTC-4, Paolo valleri escribió:
>
> that could be a problem of a generic view not correctly loaded due to the 
> following line in db.py
>
> response.generic_patterns = ['*'] if request.is_local else []
>
> change it to
>
> response.generic_patterns = ['*']
>
>
> Paolo
>
> On Monday, June 17, 2013 9:50:58 PM UTC+2, Michele Comitini wrote:
>>
>> send example code to reproduce the error please!  model, controller and 
>> iff you have modified routes.py send that too.
>>
>> mic
>>
>>
>>
>>
>> 2013/6/17 Eduardo Cruz <educ...@gmail.com>
>>
>>> I have made an api using @request.restful() decorator but when I try to 
>>> use the api from another machine it gives me an 404, Im running web2py with 
>>> the built-in server at 0.0.0.0
>>>
>>> -- 
>>>  
>>> --- 
>>> 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+un...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>

-- 

--- 
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/groups/opt_out.


Reply via email to