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

2019-05-26 Thread Константин Комков
*Dave S*, it is as variant, but I think that if I change app name maybe somthing will broken. And links too. *Val K*, I have two controller for enrants bachelor degree and magistracy. That controllers have many identical code and functions. I think it is not so good transfer part of app to anoth

RE: [web2py] Re: Web2py: Update table content after submit action

2019-05-26 Thread John Bannister
Hi Lovedie JC, Is there any reason why you don’t just use the SQLFORM.gird? You can check for the ‘new’ , ‘edit’ etc in request.args in the view and put the form in a modal or whatever styling you want to use. The alternative if you need to use the LOAD helper is probably to put both the

[web2py] Write a payment gateway for web2py

2019-05-26 Thread Mohammad Rostami
I'm going to write an Iranian payment gateway for the Web2py. I received information from the bank. I have a key that contains 56 characters. And exactly that should be the same value, that is, it can not shorten the key. This key is encrypted in base64 format. If there is a way that the key i

Re: [web2py] Re: Web2py: Update table content after submit action

2019-05-26 Thread Lovedie JC
I tried with www.web2py.com/AlterEgo/default/show/252 I have to keep refreshing the page for the form to reappear. On Sun, 26 May 2019, 14:43 Lovedie JC wrote: > Hi Dave. I have struggled with this for long but never got a good answer. > Do you have an example where in the view page: > {{=form}

Re: [web2py] Re: Web2py: Update table content after submit action

2019-05-26 Thread Lovedie JC
Hi Dave. I have struggled with this for long but never got a good answer. Do you have an example where in the view page: {{=form}} in the primary page is used but the page is not refreshing On Sun, 26 May 2019, 11:16 Dave S wrote: > > > On Saturday, May 25, 2019 at 6:59:44 PM UTC-7, Cristina Sig

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

2019-05-26 Thread Val K
There is 'site-packages' folder, modules that is placed in this folder can be imported in any application just as 'import foo' I think using this folder is better than importing across applications -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/w

[web2py] Re: requires IS_IN_DB multiple and zero

2019-05-26 Thread Dave S
On Saturday, May 25, 2019 at 9:49:28 PM UTC-7, jim kaubisch wrote: > > Hi and thanks for the suggestions - > > You seem to be saying: > single - the user should click on "select one" to NOT select > ANY - when it's normal semantics is to force the user to selects one? > mu

[web2py] Re: Web2py: Update table content after submit action

2019-05-26 Thread Dave S
On Saturday, May 25, 2019 at 6:59:44 PM UTC-7, Cristina Sig wrote: > > Hello everyone, > > I have a table filled with records from a database. > > Also, I have a button to add a new record. Once I enter all the data for > the new record and press the submit button, I want to update the content