My experiments are all pretty old. Too old to be useful.
Currently I have commercial websites using web2py and I don't need to do
anything remarkable to make it faster. I just used good design techniques
and didn't do "premature optimization." I'm now re-writing a Rails, site,
a Java site, a
On Tuesday, June 27, 2017 at 10:11:12 AM UTC-7, Ramos wrote:
>
> this is the error i see in task_run table record with status failed
>
> Traceback (most recent call last):
> File "/.../new2py/web2py/gluon/scheduler.py", line 293, in executor
> _env = env(a=a, c=c, import_models=True)
> Fi
Hmm... Google CDN is not always on the cutting edge... You should use the
same version as the one ship with web2py if you want to avoid any issues...
You have to conduct your on due diligence testing if you upgrade it...
Richard
On Mon, Jun 26, 2017 at 6:39 AM, António Ramos wrote:
> Upgraded j
this is the error i see in task_run table record with status failed
Traceback (most recent call last):
File "/.../new2py/web2py/gluon/scheduler.py", line 293, in executor
_env = env(a=a, c=c, import_models=True)
File "/home/ramstein74/webapps/new2py/web2py/gluon/shell.py", line 166,
in env
You are welcome
Richard
On Tue, Jun 27, 2017 at 4:42 AM, Francisco García Claramonte <
fgclaramo...@gmail.com> wrote:
> Good Morning Richard,
>
> First thank you for your fast help.
> I'd changed my configuration according your example.
>
> Now, It is:
>
> auth.settings.login_methods = [ auth,
>
We probably need to see more code and an exact description of the workflow
to make the update and check whether it was applied.
Anthony
On Tuesday, June 27, 2017 at 5:02:04 AM UTC-4, Ramos wrote:
>
> Yes anthony i meant modified_on ,not update_on
>
> I have this code
>
> table[id]=dict(field1=1,
On Tuesday, June 27, 2017 at 5:47:57 AM UTC-4, Ron Chatterjee wrote:
>
> What is web2py-optimized?
Controller code is in a module and called directly from a model file (so
there is no controller file executed), and although the DAL is used for
making database connections, queries are done via r
The links for the
Apostilla em português are gone
Maybe they should be kept inside the web2py online app
[image: Imagem inline 1]
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issue
Hello,
I have not seen mention of this anywhere. Perhaps my question is
a superfluous. If a table contains uuid field type can it be used as a
record_id for an argument in CRUD update call.
It looks that it cannot.
Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation
rigth config for web2py to perform... Not the default out of the box
package...
On Tue, Jun 27, 2017 at 5:47 AM, Ron Chatterjee
wrote:
> What is web2py-optimized?
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code
THE SOLUTION WAS THIS
I wanted to write a web2py slice but i cant seem to login at the moment
maybe i will do it later.
Model
Entries = db.define_table("entries", Field("entry", "text"))
Cities = db.define_table("cities", Field("city", "text"))
Controller
def call():
"""
exposes ser
That's great. Thanks - I simply hadn't thought that I could switch which
table the IS_IN_DB 'table.value_field' argument was pointing to in order to
shift which fields were available.
To give the specific answer for my case:
db.datasets.project_id.requires = IS_IN_DB(query,
'project_details.pr
Always store everything in UTC, seriously just have request.now =
request.utcnow as the first line in all your applications.
It's very easy to get a user's UTC offset using javascript:
(new Date()).getTimezoneOffset()/60
Then you can store it in session or something like that and use it to ada
i think there are two solutions for this
1. either you set the format in every table definition and use the requires
IS_IN_DB(query, db.table.id, table._format)
2. you keep your table definition and fixed the requires IS_IN_DB(query,
db.table.id, '%s %s' % (id, title) )
ref:
http://web2py.com/bo
just an idea, i think should define the field as datetime and detect user
timezone to represent it, e.g. pytz
ref:
https://groups.google.com/forum/#!topic/web2py/J5pYfUqrCZY
https://github.com/niphlod/w2p_timezone_plugin
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com
Hi,
I'm trying to set up a dropdown on a form to have representation text that
merges information from multiple tables.
The table setup is one where I'm tracking users and datasets associated
with projects. Because project details can get updated, I have a permanent
project id, and the details
hello i´m creating an app to be used by people in different countries...
i have a table events with datetime as the event date.
how will i deal with users from many countries reading events table because
the same event may be read differently by different users ..
Regards
António
--
Resources:
the message comes after i add the decorator
on top of a function
@myjwt.allows_jwt()
On Friday, June 23, 2017 at 10:49:17 PM UTC+2, Oasis Agano wrote:
>
> Hello,
>
> How can someone implement a token based authentication in web2py;
> Both token generation and authorization?
>
>
> kr,
> Oasis
>
What is web2py-optimized?
--
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
"web
Yes anthony i meant modified_on ,not update_on
I have this code
table[id]=dict(field1=1,field2=2)
the row is updated but the *modified_on* is not.
Regards
2017-06-26 19:48 GMT+01:00 Anthony :
> auth.signature includes a modified_on field, not an update_on field.
>
> Also, if you update a re
Good Morning Richard,
First thank you for your fast help.
I'd changed my configuration according your example.
Now, It is:
auth.settings.login_methods = [ auth,
ldap_auth(mode='ad',
server= server_ldap,
21 matches
Mail list logo