Hopefully this is solved, but a simple test is to use the original
appconfig.ini with storage.sqlite as the connection string.
That will tell you if it is a syntax problem, at least.
-Mark
On Monday, December 26, 2016 at 7:08:23 PM UTC-6, Ben Lawrence wrote:
>
> seems to be an appconfig probl
Il 27/12/16 17:22, Anthony ha scritto:
> I'm not sure it's considered part of the public API (it's not in the
> book), but you can do:
>
> |
> filepath
> =db.mytable.myupload.retrieve_file_properties(row.myupload)['path']
> |
>
> The returned dictionary also includes a "filename" key, which holds
>
I'm not sure it's considered part of the public API (it's not in the book),
but you can do:
filepath = db.mytable.myupload.retrieve_file_properties(row.myupload)['path'
]
The returned dictionary also includes a "filename" key, which holds the
decoded (i.e., original) filename.
More generally,
Hi!
Other than the methods "store" and "retrieve" of a field is there a
programmatic way to get from a row just the path where a file is stored
on the filesystem (expecially when uploadseparate option is set to True)?
Thank you very much
Manuele
--
Resources:
- http://web2py.com
- http://
On Tuesday, December 27, 2016 at 8:33:09 AM UTC-5, Aydin wrote:
>
> I am trying to call a a function externally. I have a function:
> @auth.requires_login()
> @service.json
> def func(a):
> db.table1.insert(data1=a)
> db.commit()
> return locals()
>
> This has two problems: 1) When
On Tuesday, December 27, 2016 at 8:33:09 AM UTC-5, Aydin wrote:
>
> I am trying to call a a function externally. I have a function:
> @auth.requires_login()
> @service.json
> def func(a):
> db.table1.insert(data1=a)
> db.commit()
> return locals()
>
> This has two problems: 1) When
I am trying to call a a function externally. I have a function:
@auth.requires_login()
@service.json
def func(a):
db.table1.insert(data1=a)
db.commit()
return locals()
This has two problems: 1) When I use
urllib2.urlopen("https://www.example.com/default/call/func.json/2) which
do
Yes it possible.
Description of files:
- bootstrap.min.css - already known
- calendar.css - to styling native calendar component of web2py
- web2py-bootstrap.min.css - I think that it a old version from web2py.css
- web2py.css - styling component's web2py ( as flash messages , grid
component , s
It's impossible to modify this... for example...bootstrap.min.css...
djust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){disp
9 matches
Mail list logo