It's not nice and I don't know how I can say to web2py to add the
> error-wrapper after the input-group. Do you know that?
>
>
On the controller
form.accept(hideerror=True)
On the view you have to display errors yourself
{{if form.errors.daily_distance:}}
... write your own html/javascri
Thank you Anthony.
Il giorno mercoledì 24 agosto 2016 19:21:03 UTC+2, Anthony ha scritto:
>
> form.vars.id
>
> On Wednesday, August 24, 2016 at 12:47:53 PM UTC-4, Gael Princivalle wrote:
>>
>> Hello.
>>
>> How can I retrieve the record id when the form is accepted? I would like
>> to use it for r
That's interesting and more clean but in my case I don't use the widget as
I would like to add to the input an input-group-addon for having for
example for this field 'daily-distance' the unit at the end.
{{=LABEL(T(db.events.daily_distance.label),
_for='dai
you're thinking with a human mind instead of thinking on how a database
works... with sets of data.
How can you ask a database to return a single set grouped by something and
at the same time as for granular records???
When you use groupby, you can just ask for granular records of the columns
You can't offload the upload to a task in a separate process: there would
be no socket to munge the data in :D
Use modern js solutions to return information to the user for multiple
uploads and a custom action and use a real webserver in front of web2py
(read: nginx) that will buffer the inp
if you get any error with __tmp is because you didn't drop tables on the
backend AND .table files before hitting the app with migrate=True.
On Thursday, August 25, 2016 at 6:53:07 PM UTC+2, Ben Lawrence wrote:
>
> Hi Niphlod,
> I deleted all the scheduler tables , created a new database and then
Hi Niphlod,
I deleted all the scheduler tables , created a new database and then
rebooted with DAL(..migrate=True..) yet still get this error
column "worker_stats__tmp" is of type json but expression is of type text'
using postgresql 9.4 on raspberry pi.
In
http://stackoverflow.com/questions/325
I hope you can do your solution in controller.
You can set form.vars
AFTER form= definition
and BEFORE form.validate() (or before form.process() which contains
.validate() call)
But you can set the value later too.
Here you have initial name Jan, and substitute name after failed validation
I heard much about timeout of web request (like 60s) and about the need to
use scheduler if the action is slow.
But I'am not sure about large file uploads.
Is the file send to the server during http request or when I ask .read()
(or .value) in the controller? Should I take care about time of the
I've solved the problem! And it feels really nice :)
As I previously said, web2py hadn't anything to do with this issue, but I
still wanted to come back here and post the solution: *the problem was a
misconfiguration in /etc/sysctl.conf regarding tcp*. The following
configuration parameters wher
10 matches
Mail list logo