[web2py] Re: Web3py Auth

2019-05-20 Thread 黄祥
> > I am thinking for something. I am thinking of a generic tagging api which > wold allow you to tag any object using efficient many2many and use > hierarchical tags. > You would be able to tag users with group tags and efficiently search > groups for users and users by group. I have a prototy

[web2py] Re: Web3py Auth

2019-05-20 Thread Massimo Di Pierro
I am thinking for something. I am thinking of a generic tagging api which wold allow you to tag any object using efficient many2many and use hierarchical tags. You would be able to tag users with group tags and efficiently search groups for users and users by group. I have a prototype but it wil

[web2py] Rows class constructor question

2019-05-20 Thread Vlad
I must be missing something very basic here... Want to create an empty Rows object, and then to append to it sets of rows from various sql queries with the same structure of the result sets. The first line in the code (in a controller) is rows = Rows() with an intention of creating an emp

[web2py] Re: Web3py

2019-05-20 Thread 黄祥
> > Getting error missing table , sqlite3.OperationalError: no such table: > web3py_error > > _dashboard won't load at all. > could you please tell us steps to reproduce that error or show some code ? best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documenta

[web2py] Web3py Auth

2019-05-20 Thread villas
Hi Massimo Thanks for the auth implementation. However, I personally think Groups are an essential feature of any auth. As a suggestion, could you please consider at least a slimmed-down version of Groups. I am thinking simply this: - Extra field: auth_user.group_ids list:reference - T

[web2py] Re: Web3py

2019-05-20 Thread En Ware
Getting error missing table , sqlite3.OperationalError: no such table: web3py_error _dashboard won't load at all. On Wednesday, May 15, 2019 at 9:51:40 AM UTC-5, En Ware wrote: > > Thank you very much for the explanation , it really helps. > > On Wednesday, May 15, 2019 at 12:23:47 AM UTC-5, M

[web2py] Re: Custom validator that avoids saving duplicate / similar values on a database with custom forms

2019-05-20 Thread Leonel Câmara
Valitadors have an error_message __init__ argument. So you can just do IS_IN_DB(..., error_message=T('*that name is already used, please choose a different name for your items*')) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sourc

[web2py] SQL ALL & ANY operators - ?

2019-05-20 Thread Vlad
Does Web2py / DAL have an equivalent of ALL and ANY SQL operators? -- 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

Re: [web2py] Custom validator that avoids saving duplicate / similar values on a database with custom forms

2019-05-20 Thread mostwanted
I wanna use a custom validator with a more relevant message, the message with IS_NOT_IN_DB() reads* "Value already in database or empty", *how can i change the message to what i want it to be? Mostw On Monday, May 20, 2019 at 9:36:32 AM UTC+2, Lovedie JC wrote: > > IS_NOT_IN_DB() > > On Mon, 2

Re: [web2py] Custom validator that avoids saving duplicate / similar values on a database with custom forms

2019-05-20 Thread mostwanted
I wanna use a custom validator with a more relevant message, the message with IS_NOT_IN_DB() reads* "Value already in database or empty", *how can i change the message to what i want it to be? Mostwanted On Monday, May 20, 2019 at 9:36:32 AM UTC+2, Lovedie JC wrote: > > IS_NOT_IN_DB() > > On M

[web2py] Re: !web2py, but i'm asking someone's help with aws-sdk-js.

2019-05-20 Thread Dave S
On Friday, May 17, 2019 at 5:57:29 AM UTC-7, lucas wrote: > > actually Dave S, > > your indirect answer led me to a place of where not to go at all, which > was the server-side node.js. believe it or not. because it led me to a > place where i actually needed to be. and i conjured the final

[web2py] Re: backup page when site is broken

2019-05-20 Thread Dave S
On Sunday, May 19, 2019 at 8:16:54 PM UTC-7, Alex Glaros wrote: > > how would I redirect to a plain static web page that displays "This Web2py > app is temporarily down while we install updates"? Could I redirect to > another site? Is there code to sense when site is broken then automatically

Re: [web2py] Re: I can not import module in app

2019-05-20 Thread Dave S
On Saturday, May 18, 2019 at 7:05:07 AM UTC-7, Константин Комков wrote: > > Yes it have, but that file is empty > > Empty is ok, but the file is required. /dps > сб, 18 мая 2019 г., 3:38 Dave S >: > >> >> >> On Friday, May 17, 2019 at 2:49:45 PM UTC-7, Константин Комков wrote: >>> >>> Check l

Re: [web2py] Custom validator that avoids saving duplicate / similar values on a database with custom forms

2019-05-20 Thread Lovedie JC
IS_NOT_IN_DB() On Mon, 20 May 2019, 10:07 mostwanted wrote: > I have a custom form that allows users to save information on what they > are selling but the problem is that at times customers save similar items > names and during a search by buyers the buyer gets a duplicate name > results, what

[web2py] Custom validator that avoids saving duplicate / similar values on a database with custom forms

2019-05-20 Thread mostwanted
I have a custom form that allows users to save information on what they are selling but the problem is that at times customers save similar items names and during a search by buyers the buyer gets a duplicate name results, what i want is to disable registering clients from saving the same item n