[web2py] Re: parse a json response in views

2015-02-23 Thread CC J
ad read the docs On Sunday, February 22, 2015 at 3:33:09 PM UTC+10, CC J wrote: > > Hi > > I submit a request to the web2py server > > onchange="jQuery(gaslists).empty();ajax('prices', ['station_name'], > 'shadow_clone');" > > My c

[web2py] parse a json response in views

2015-02-22 Thread CC J
Hi I submit a request to the web2py server onchange="jQuery(gaslists).empty();ajax('prices', ['station_name'], 'shadow_clone');" My controller returns return XML(listing) In Firefox developer I receive a response {'ulp': '124.90', 'diesel': '126.90', 'autogas': '54.90'} I've a mental block

[web2py] Re: Postgresql and timestamp

2013-09-18 Thread CC J
It works with datetime On Wednesday, September 18, 2013 11:33:50 AM UTC+10, Nate wrote: > > Hi > I've looked through the forum and can find nothing. > my code > db.define_table('franchise', > Field('code', 'string', length=1), > Field('name'), > Field('recorddate','timestamp with time zone')