[web2py] Re: how to run function right after user first logs in?

2015-01-24 Thread Carlos Hanson
Very true about the needless execution. Learning how best to not use the models directory is next on my list. I have to make sure all the important stuff works first, the refactor as I go. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web

[web2py] Re: how to run function right after user first logs in?

2015-01-24 Thread Leonel Câmara
Carlos that's why that's not the preferable solution as you don't want to be executing code needlessly. Alex, you can append your function to *auth.settings.login_onaccept* the functions on this list all get called with the form as argument when the user logs in. -- Resources: - http://web2py