Re: [web2py] Re: user request_reset_password doesn't send mail

2018-05-31 Thread Vid Ogris
It sends mail for retrieve username. On Thu, May 31, 2018, 16:55 Anthony wrote: > Is the Auth system otherwise able to send emails successfully? > > On Thursday, May 31, 2018 at 7:09:49 AM UTC-4, Yebach wrote: >> >> Hello >> >> I am using a normal web2py installation and all user features are wo

[web2py] Re: form fields

2018-05-31 Thread Anthony
On Thursday, May 31, 2018 at 2:27:44 PM UTC-4, Andrea Fae' wrote: > > thanks Anthony. Could you give me simple example about second idea? It's > noy possible to pass variables to a onvalidation funtion? i.e. onvalidation > doesn't accept parameters...the problem is: how to make that object > ava

[web2py] Re: query and json-field

2018-05-31 Thread Anthony
">> db('j->>"x" = 1')._select(db.j.id) 'SELECT "j"."id" FROM "j" WHERE j->>"x" = 1;' Anthony On Thursday, May 31, 2018 at 5:01:08 PM UTC-4, mweissen wrote: > > Let's say I have a table like > db.define_table("mytable", Field("j", "json")) > with some data like db.mytable.insert(j={"x":1}) > > Now

[web2py] query and json-field

2018-05-31 Thread Martin Weissenboeck
Let's say I have a table like db.define_table("mytable", Field("j", "json")) with some data like db.mytable.insert(j={"x":1}) Now I want to find all records with x==1. Of course db(db.mytable.j["x"]==1) does not work (but it would be fine). I have tried some queries like db.mytable.j.like("%1%")

[web2py] Re: form fields

2018-05-31 Thread Andrea Fae'
thanks Anthony. Could you give me simple example about second idea? It's noy possible to pass variables to a onvalidation funtion? i.e. onvalidation doesn't accept parameters... Il giorno giovedì 31 maggio 2018 00:24:29 UTC+2, Anthony ha scritto: > > SQLFORM shows the values of non-writable fiel

[web2py] Re: user request_reset_password doesn't send mail

2018-05-31 Thread Anthony
Is the Auth system otherwise able to send emails successfully? On Thursday, May 31, 2018 at 7:09:49 AM UTC-4, Yebach wrote: > > Hello > > I am using a normal web2py installation and all user features are working > (also retrieve username) but the request reset password is not. > > Any suggestions

[web2py] Re: json field data sequence

2018-05-31 Thread Anthony
The problem is, on the Python side, the JSON is converted to a plain dictionary, and dictionaries do not necessarily preserve the order of keys. You can ensure the order of keys is preserved in the stored JSON by passing in an OrderedDict rather than a plain dict. However, the DAL will still end

[web2py] json field data sequence

2018-05-31 Thread yogeshwar khalkar
Hi, I have a JSON field in the table with multiple key-value pairs. I want to render that data on the screen in the sequence I have entered it. But web2py rearranges that data in the database, don't know on which precedence. I want the data in the sequence I have entered in the database. Anyo

[web2py] user request_reset_password doesn't send mail

2018-05-31 Thread Yebach
Hello I am using a normal web2py installation and all user features are working (also retrieve username) but the request reset password is not. Any suggestions on what could be the problem My auth.settings are auth.settings.registration_requires_verification = False auth.settings.registration_