how would I import the scheduler into a module to do that?
On Sunday, May 1, 2016 at 12:00:44 PM UTC-4, Niphlod wrote:
>
> why don't you use queue_task() ?
>
> On Friday, April 29, 2016 at 9:17:37 PM UTC+2, Marty Jones wrote:
>>
>> I seem to have resolved it by switching "db = current.db" to "db
I have a python program where I prompt the user for two files, and I do
some programming and output a new file...
How can I make this work with web2py?
I was thinking having a form with 2 upload fields, and a text field so they
can give a name to the file that will be generated from the code.
the statement "I don't need to use the scheduler, because I want to start
it as soon as possible" is flaky at best. If your "fetching" varies from 2
to 20 seconds and COULD extend further to 60 seconds, waiting a few seconds
for the scheduler to start the process is uhm... debatable.
Of
It works, thanks! I forgot the whole thing. When I started with web2py, one
expert recommended me not to use list references but do all intermediary
tables yourself.
Is there any drawbacks to use list reference instead of doing those
intermediary tables yourself?
lauantai 30. huhtikuuta 2016
Thanks for info and tips, 6 years later.
What I try to do
is a form with single input, where user gives a query string
and then data about (usually ~300) books will be retrieved via z39 and marc
protocol/format, parsed and saved into local database.
Of course this will take a time (2? 5? 20?
the answer is pretty easythere is no list:datetime Field type.
On Friday, April 29, 2016 at 3:58:48 PM UTC+2, billmac...@gmail.com wrote:
>
> works:
> Field("something", 'list:string'),
> Field("someting2", 'list:integer'),
>
> But no such thing as:
> Field("something3", 'list:datetime')
>
>
why don't you use queue_task() ?
On Friday, April 29, 2016 at 9:17:37 PM UTC+2, Marty Jones wrote:
>
> I seem to have resolved it by switching "db = current.db" to "db =
> current.globalenv['db']"
>
> On Friday, April 29, 2016 at 12:05:34 PM UTC-4, Marty Jones wrote:
>>
>> I'm defining some
how much does it cost?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
I want toggle navigation button when opened from mobile and not like this.
My code in index.html:
{{if response.menu:}}
{{=response.logo or ''}}
{{=MENU(response.menu, _class='nav
navbar-nav',li_class='dropdown',ul_class='dropdown-menu')}}
9 matches
Mail list logo