[web2py] Re: how to keepvalues in SQLform.grid search form after submission

2018-03-30 Thread Anthony
The "formargs" argument applies to the view, create, and update forms generated by the grid, not the search widget. But as long as you're creating a custom search form, why not just directly set keepvalues in the searchform() code? Anthony On Friday, March 30, 2018 at 4:05:32 PM UTC-4, Shrabya

[web2py] Re: Cant login to my app

2018-03-30 Thread Anthony
On Friday, March 30, 2018 at 12:38:11 PM UTC-4, Jim S wrote: > > Is this really in a module? Have you imported auth and set it to the > current auth before the line you specified? > That isn't the issue here, as the "auth" object is clearly defined in the context presented -- it's just missing

[web2py] Re: Cant login to my app

2018-03-30 Thread Anthony
On Friday, March 30, 2018 at 10:01:45 AM UTC-4, Maurice Waka wrote: > > I have been getting this error in the last few days but somehow, with > restarting my comp, the error is sorted out. Every time I create a new > module and test it in the app, the error appears. > This is the latest, and this

[web2py] Re: web2py & react

2018-03-30 Thread 黄祥
tried it for learn, nice app, at first thought that the form submitted will store in database, hehe *installation and running step :* *terminal_0* cd path/web2py/applications git clone https://github.com/jredrejo/web2pyreactpoc cd web2pyreactpoc/static/src npm install ./node_modules/.bin/webpack

[web2py] Re: how to keepvalues in SQLform.grid search form after submission

2018-03-30 Thread Shrabya Timsina
Thanks for clarifying Anthony, but I did try formargs in the ways you suggested and did not get any values kept in the form after submission. Here is my grid definition. I am using my own search_widget. Could that be part of the problem? def searchform(fields, url): family = Field("family

[web2py] Re: updating pydal in web2py from git repo

2018-03-30 Thread Yoel Benítez Fonseca
h! for this of you who don't are to experienced with git, for updating your git clone of the web2py: git pull --recurse-submodules This will update gluon/packages/dal to On Wed, Mar 28, 2018 at 1:18 PM, Yoel Benítez Fonseca wrote: h! How long takes the changes from pydal to be in the web2p

[web2py] Re: Cant login to my app

2018-03-30 Thread Jim S
Is this really in a module? Have you imported auth and set it to the current auth before the line you specified? I don't think auth works within a module by default. -Jim On Friday, March 30, 2018 at 9:01:45 AM UTC-5, Maurice Waka wrote: > > I have been getting this error in the last few days

[web2py] Re: UnicodeDecodeError "'utf-8' codec can't decode..." when inserting a blob in database (python 3.6.3)

2018-03-30 Thread alexandre . henry
Sure! Let me see how to do that and I will. Thank you Le mercredi 28 mars 2018 18:49:08 UTC+2, Massimo Di Pierro a écrit : > > I think this is. Can you please open an issue about it? > > On Tuesday, 27 March 2018 13:32:15 UTC-5, alexand...@gmail.com > wrote: >> >> Hello All, >> >> I'm an absolut

Re: [web2py] on delete event callbacks and versioned tables

2018-03-30 Thread Manuele Pesenti
Il 29/03/18 21:13, Richard Vézina ha scritto: > They are intent to be used to specify something before or after the > delete... I mean even if there is no "pure" deletion occuring your > record doesn't exist anymore for the end user once you "deleted" it > even if versioning mechanism keep trace of

[web2py] Cant login to my app

2018-03-30 Thread Maurice Waka
I have been getting this error in the last few days but somehow, with restarting my comp, the error is sorted out. Every time I create a new module and test it in the app, the error appears. This is the latest, and this time, even with restarting the system, the error below appears and I cant us