[web2py] Re: maximum recursion depth exceeded
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 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 Abraço, Thiago Abreu --
Re: [web2py] Re: maximum recursion depth exceeded
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 leonelcam...@gmail.comwrote: 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 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 Abraço, Thiago Abreu -- -- Um Abraço, Thiago Abreu --
[web2py] Re: maximum recursion depth exceeded
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 Abraço, Thiago Abreu --