Re: [web2py] Happy New Year everybody!

2014-01-01 Thread Jake Angulo
Prospero ano y felicidad! A prosperous and happy New Year to everyone! On Thu, Jan 2, 2014 at 9:06 AM, Massimo DiPierro wrote: > Happy new year everybody, > > some good news: > 1) python is growing popularity > > https://sites.google.com/site/pydatalog/pypl/python-blog/pythonisthelanguageofth

Re: [web2py] Online classes

2013-12-04 Thread Jake Angulo
Invaluable learning resource... thinking of downloading to my tablet. Thanks maestro :) On Tue, Dec 3, 2013 at 5:34 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Hello everybody, > > As you know I teach a certification program about web development with > Python and I use web2py.

Re: [web2py] Re: How to set Session Variable in Models

2013-08-05 Thread Jake Angulo
On Tue, Aug 6, 2013 at 1:55 PM, Anthony wrote: > session.emailvariable = request.vars.email > > Because the above is in a model file, it runs on every request. After the > form has been submitted, on subsequent requests, the value of > request.vars.email will be None, so you are simply overwritin

[web2py] How to set Session Variable in Models

2013-08-05 Thread Jake Angulo
Im trying to set the following session variable in models file: "session.emailvariable" And later retrieve it in a view as: Session.emailvariable = {{=session.emailvariable}} . This is my models (db.py): db.define_table( auth.settings.table_user_name, Fie

Re: [web2py] Re: Book register example - how to redirect to other URL

2013-08-01 Thread Jake Angulo
t; I am not sure whether you want line #1 there, you may have a different > workflow. > > On Thursday, 1 August 2013 01:58:45 UTC-5, Jake Angulo wrote: > >> On Thu, Aug 1, 2013 at 3:50 PM, Jake Angulo wrote: >> >>> >>> Where and how should i modify the

Re: [web2py] Re: Book register example - how to redirect to other URL

2013-08-01 Thread Jake Angulo
On Thu, Aug 1, 2013 at 5:13 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > You do not need to modify the registration for this. Instead you do the > following: > > Hi Massimo, Thank you for pointing that out, I will explore it as an alternative logic. Regarding: "redirect('http://p

[web2py] Re: Book register example - how to redirect to other URL

2013-08-01 Thread Jake Angulo
On Thu, Aug 1, 2013 at 3:50 PM, Jake Angulo wrote: > > Where and how should i modify the code? > > So basically, I want to use the built-in Auth register() function - but I want to modify its behavior: Auth.register() checks if the new user is successfully registered & log

Re: [web2py] Re: A good py Logger Lib that works with web2Py (like Log4J)

2013-07-30 Thread Jake Angulo
Thanks All! Will try to both pdb and errormator and see what works for me. On Tue, Jul 30, 2013 at 3:50 AM, Derek wrote: > Take a look at errormator. I use it in some of my non-web2py apps simple > enough. > > > On Sunday, July 28, 2013 5:51:28 PM UTC-7, Jake Angulo wrote: &

Re: [web2py] Re: Starting web2py on shell generates - Temporarily down for maintenance

2013-07-29 Thread Jake Angulo
On Fri, Jul 26, 2013 at 7:42 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Login into http:///admin > You will find that the app you are trying to access (/ can be "welcome" or > "init") is disabled. An app can be enabled or disabled from the web > interface. When it is disabled

[web2py] A good py Logger Lib that works with web2Py (like Log4J)

2013-07-29 Thread Jake Angulo
Hi Guys, I develop using vi & notepad++ and find it very difficult to debug with these limited tools. I debug by runtime output / stdout & doing a lot of print. Is there a good Py logging library (like log4j in java) that also works with web2py? Appreciate any recommendeations. Rgds, -- --

[web2py] Starting web2py on shell generates - Temporarily down for maintenance

2013-07-26 Thread Jake Angulo
Hi All, Im pretty embarrassed to ask this question but im stuck for half a day on this. Starting web2py with: /home/www-data/web2py/web2py.py -a -i -p 80 It starts up alright with no error, and getting the familiar message. But when I browse: http:// The browser displays: "Temporarily down