In appadmin.html line 75 change this: {{cond = '!=""' if table[fieldname].type in ['string','text'] else '>0'}} to this: {{cond = '>0'}} {{if table[fieldname].type in ['string','text']:}} {{cond = '!=""'}} {{pass}}
line 95 do the same thing. On Mar 23, 10:10 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > Yes. Please report them. This was tested once but somethink may have > slipped is with patches > > On Mar 23, 10:01 pm, "mr.freeze" <nat...@freezable.com> wrote: > > > Are we aiming to be 2.4 compatible? There are several more problems > > that I've found but I won't worry about it if not. > > > On Mar 23, 6:41 pm, "mr.freeze" <nat...@freezable.com> wrote: > > > > On python 2.4, I had to make these changes to tools.py to get web2py > > > running: > > > > line 2562: > > > ------------ > > > Before: > > > data = data if data is None else urllib.urlencode(data) > > > ------------ > > > After: > > > if data !=None: > > > data = urllib.urlencode(data) > > > ------------------------------------------------------------------------ > > > > line 2571: > > > ------------ > > > Before: > > > method = urlfetch.GET if data is None else urlfetch.POST > > > ------------ > > > After: > > > method = urlfetch.POST > > > if data == None: > > > method = urlfetch.GET > > > > It seems to work after that. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.