Re: [web2py] Re: maximum recursion depth exceeded

2012-11-06 Thread Thiago Abreu
ok, i understand I'll try it and return in forun tks Câmara! On Tue, Nov 6, 2012 at 12:06 PM, Leonel Câmara wrote: > More specifically. You are shadowing the crud usually defined in db.py on > your models with the name of your function which is also called crud. > > http://en.wikipedia.org/wiki/

[web2py] Re: maximum recursion depth exceeded

2012-11-06 Thread Leonel Câmara
More specifically. You are shadowing the crud usually defined in db.py on your models with the name of your function which is also called crud. http://en.wikipedia.org/wiki/Variable_shadowing Segunda-feira, 5 de Novembro de 2012 19:04:29 UTC, Thiago Abreu escreveu: > > I'm trying to generate a s

[web2py] Re: maximum recursion depth exceeded

2012-11-05 Thread Massimo Di Pierro
You function is called itself. On Monday, 5 November 2012 13:04:29 UTC-6, Thiago Abreu wrote: > > I'm trying to generate a simple CRUD but I have this error > maximum recursion depth exceeded > > > my view > > def crud(): > > return dict(form=crud()) > > > i'm newbie in web2py > -- > Um Abr