On Mar 3, 2011, at 8:44 PM, darkblue_b wrote:
>
> oh - I bet it is that web2py is expecting a field called id
> whereas I define my own primary key 'pkey' and there is no 'id'
>
> assuming that is true, then tables with no primary key 'id'
> are not serializable by json, but xml works ?
> seems l
On Mar 3, 2011, at 1:46 AM, darkblue_b wrote:
>
>>>
>>> @jonathan: Yes, a more detailed error messages than "no json" would be
>>> awesome.
>>
>> generic.json now says:
>>
>> {{
>> ###
>> # response._vars contains the dictionary returned by the controller action
>> ###
>> try:
>>from gluon
On Mar 1, 2011, at 6:21 AM, Massimo Di Pierro wrote:
>
> The problem is that not everything is json and rss serializable.
In that case, we ought to have a more helpful error than "no json". You're
suggesting that the json encoding call is failing?
> What
> does your action look like?
>
> On Ma
3 matches
Mail list logo