[web2py] Small bug in ajax(u, t, s) function

2012-06-21 Thread Thomas Le
Hey guys, I found a small bug in the ajax function when you pass in field input names like field[location] or blog[id]. So, if I have a form that looks like: input type=text name=query value= label class=control-label for=searchSourceSearch Source:/label select type=text name=searchSource

[web2py] 'dict' object is not callable in RSS example from web2py book ch. 3

2012-05-25 Thread Thomas Le
Hey guys, Ran into an issue: I copied and pasted the following example from the RSS section of chapter 3: (I changed reponse.generic_patterns to response.generic_patterns, I think it's a typo) def news(): generates rss feed form the wiki pages reponse.generic_patterns = ['.rss']

[web2py] Re: 'dict' object is not callable in RSS example from web2py book ch. 3

2012-05-25 Thread Thomas Le
So in web2py/gluon/serializers.py in rss around line 107: link=entry('link',None), Needs to be changed to: link=entry.get('link',None), Should I post this to the github page or something?