Hi Massimo,
Good Morning. And sorry for my poor English.
Q1) when you saying it hangs are your trying from a new incognito window or
from the same browser? It may be a session lock not a freeze.
Ans) Whenever sever freezes/hanged. We try to access our pages from
different browser bit still get
Hi Anthony,
I have successfully get the values from another file... thanks...
But for now i have another problem displaying the values into a graph...
In views/default/index.html
{{extend 'layout.html'}}
{{=LOAD('default', 'graph', ajax=True, timeout=500, times='infinity')}}
Dug up this old thread. In case anybody wondering the same question about
certbot/let's encrypt and web2py.
1. use `--standalone` as David advised. But you have to stop the webserver
everytime you renew.
2. instead, you can use the standard `--webroot` method. Here, you need to
edit your
Not sure what you mean. We just had a major release in July (v2.15), with a
few quick minor follow-ups (the most recent only 9 days ago). And 2.16 beta
is already available on Github.
If you look at the web2py and pyDAL repositories, you will see there has
been a good amount of development
On Sunday, September 10, 2017 at 3:34:27 AM UTC-4, Andrea Fae' wrote:
>
> You are right, like the same! But, where is it written?
>
http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-grid-signature
--
Resources:
- http://web2py.com
- http://web2py.com/book
is put session.forget() at the beginning of the function can make process
goes faster?
and
move the computation to a background task is same like put it on web2py
scheduler?
thanks and best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
you can
delete session['anyvar']
or
session.anybar = None
it will be saved this purging anyvar.
On Thursday, 7 September 2017 16:29:03 UTC-5, CDA wrote:
>
> Can we purge only a subset of sessions?
>
> On Sep 7, 2017 5:17 PM, "Anthony" wrote:
>
>> On Thursday,
Thanks for letting us know. That usually works. When it does not the you
can use the web2py/site-packages folder.
On Tuesday, 5 September 2017 07:26:35 UTC-5, Carl Hunter Roach wrote:
>
> placing the tlslite directly in applications/appname/modules enables
> import statements to resolve
Let's rule out the usual culprits:
- when you saying it hangs are your trying from a new incognito window or
from the same browser? It may be a session lock not a freeze.
- are using apache? Don't it has memory issues. Use Nginx
- do you have processes that may take a lot of time? consider
I think you want:
tablename, fieldname = specificTableToSearchMembersFromID.split('.')
db.Role.object_super_object_FK.requires = IS_IN_DB(db
(db[tablename][fieldname]),
'cost_center.super_object_fk', '%(cost_center_title)s', zero = T('choose
one'))
On Friday, 1 September 2017 16:36:10 UTC-5,
what adapter are you using. What is your URI string (without passwords
please)?
On Monday, 4 September 2017 09:53:46 UTC-5, Yan Wong wrote:
>
> With this code, I now find that with the latest version of web2py
> (2.15.4), I get
>
> File "applications/XXX/models/db.py", line 46, in
>
You cannot add buttons to a readonly crud form because it has no button
row. You can do:
form.components.append(A('Back',_onclick="window.history.go('-1')"))
On Sunday, 3 September 2017 13:49:31 UTC-5, Andrea Fae' wrote:
>
> I use in a method this
> form=crud.read(db.evento,evento)
>
Hi,
Are there any plans of future releases of web2py as there have been no
significant activities this year? I quite enjoy working on the framework so
would like to know if it is worth investing time on this to build a tool as
opposed to Flask/Django?
Thanks,
Arnab
--
Resources:
-
I have found a solution
BUTTON('Testext', _onclick="ajax('%s',[],'')" % URL("testfunction")
2017-09-10 17:47 GMT+02:00 Martin Weissenboeck :
> I have tried the callback parameter of A:
>
> A('Testext', callback('testfunction'))
>
>
> Works fine. Now I want the same
Well you can define the tables manually instead of calling
auth.define_tables
Also note that there's no need to auth.define_tables(migrate=False,
fake_migrate=False) if you have set migrate=False and fake_migrate=False at
the DAL level because auth will use whatever settings you have used for
any way to specifically target auth_user (or any of the auth tables)?
--
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
I have tried the callback parameter of A:
A('Testext', callback('testfunction'))
Works fine. Now I want the same function for a BUTTON, something like
BUTTON('Testtext', callback('testfunction')
Ok, BUTTON does not accept a callback parameter, therefore it should look
like
You can do it in auth.define_tables.
auth.define_tables(migrate=False, fake_migrate=False)
--
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
You are right, like the same! But, where is it written?
Thanks a lot
Il giorno sabato 9 settembre 2017 21:53:47 UTC+2, Anthony ha scritto:
>
> I don't see csv=False in your grid call: SQLFORM.grid(..., csv=False). You
> don't have to bother with exportclasses if you set csv=False.
>
> Anthony
>
19 matches
Mail list logo