*work in web2py*
def json_row_as_list():
if not request.env.request_method == 'GET': raise HTTP(403)
import json
table_name = request.args(0)
id = request.args(1)
if id.isdigit() and int(id) > 0:
query = (db[table_name]['id'] == id)
else:
query = (db[table_na
On Friday, June 14, 2019 at 2:57:38 PM UTC-5, Jim Gregory wrote:
>
>
> On the old version of my blog, I would get relative URLs
> '/blog/', but now I'm getting '/blog/default/'.
> SImilar behavior is occurring in the top-level navigation. Has routing
> behavior changed?
>
> I had forgotten
On Friday, June 14, 2019 at 9:00:05 AM UTC-7, rāma wrote:
>
> Hi Dave,
>
> Nico is right here. I used pip to pre-package modules for easier
> distribution. Not really a DLL but works. The only downside is that
> distributing the app can be really large.
>
>
Thanks, guys!
Dave S
/dps
> On Fr
was a yatl bug in len(XML(''))
now fixed in yatl
On Saturday, 15 June 2019 00:56:45 UTC-7, 黄祥 wrote:
>
> *work in web2py*
> def json_row_as_list():
> if not request.env.request_method == 'GET': raise HTTP(403)
> import json
> table_name = request.args(0)
> id = request.args(1)
>
mind highcharts is not free
On Tuesday, 11 June 2019 09:33:37 UTC-7, Lovedie JC wrote:
>
> I'm following this discussion. Does the chart have a print to image(jpg,
> png, svg) or pdf?
> Hicharts does a nice job.
> Regards
>
> On Tue, 11 Jun 2019, 19:25 Dave S wrote:
>
>>
>>
>> On Sunday, June
+1
On Monday, 3 June 2019 09:51:56 UTC-7, Leonel Câmara wrote:
>
> Sorry to dig this thread up, but I had to take a look at this recently.
>
> I think the most efficient way is to use pydal to make the sql query and
> then have pandas do it. As an example say you want a dataframe which has
still have an error, a bit different told about __iter__ and __len__
$ pip3 install -U -r requirements.txt
Successfully built yatl
Installing collected packages: yatl
Found existing installation: yatl 1.0.6
Uninstalling yatl-1.0.6:
Successfully uninstalled yatl-1.0.6
Successfully instal
I am getting the following error:
RuntimeError: No driver of supported ones ('psycopg2',) is available
I used "pip3 install psycopg2" and pip now reports that psycopg2 is
installed.
What am I still missing? What's the best (quickest, easiest, and
hassle-free) way to use postgres from web2py?
Here is a quote from the web2py docs:
"Making a secure connection
Sometimes it is necessary (and advised) to connect to your database using
secure connection, especially if your database is not on the same server as
your application. In this case you need to pass additional parameters to
the d
9 matches
Mail list logo