[web2py] Re: Error on migrate=True

2018-04-07 Thread Anthony
On Saturday, April 7, 2018 at 4:13:16 AM UTC-4, Stephan wrote: > > Anthony, 1kTHX, it works now. > The error was, that I set *migrate=True* in the DAL connector, i.e. *db > = DAL('credentials.ee@mysql', migrate=True)* but not in the table that > was altered. > So this works for me: > - I run th

Re: [web2py] Re: Error loging in after authentication changes

2018-04-07 Thread Anthony
> > {{for q in question:}} > {{q=XML(q.quest.replace('\n','').replace('(','{').replace(')','}'), > sanitize=True)}} > {{pass}} > ... > $(function () { >... > sendMessage('{{=q}}'); > When "question" is empty (i.e., there are no answers from the current user), th

Re: [web2py] Re: Error loging in after authentication changes

2018-04-07 Thread Anthony
Also, there is not point to either of the for loops at the top of the view -- each loop is simply assigning a new value to the same variable, so the final value of the variable is just that of the final element in the iteration. You might as well just make that final assignment without botherin

Re: [web2py] Re: Error loging in after authentication changes

2018-04-07 Thread Maurice Waka
Thanks for the information. Let me work on it. On Sat, 7 Apr 2018, 17:36 Anthony wrote: > Also, there is not point to either of the for loops at the top of the view > -- each loop is simply assigning a new value to the same variable, so the > final value of the variable is just that of the final

[web2py] Did results of form.custom.dspval[fieldname] change?

2018-04-07 Thread Jim S
I just installed the latest web2py. Version 2.16.1-stable+timestamp.2018.03.08.10.23.01 Previously, in my view I could test whether or not a form field had a value by: {{if form.custom.dspval[fieldname]:}} {{=form.custom.dspval[fieldname] {{else:}} click here to enter field value {{pass

[web2py] Re: Decrypt password from auth_user

2018-04-07 Thread pbreit
You don't need to show the "correct" number of s. No one else does so there will not be any confusion. -- 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) ---