Re: [web2py] Re: I can not pass an instance of DAL through other instances and use "reference type"?

2011-11-09 Thread Bruno Rocha
OK, I guess I just solved the problem :) *it was:* class Article(BaseModel): tablename = "article" properties = [ # main Field("author", "reference auth_user"), Field("author_nickname", "string"),

Re: [web2py] Re: I can not pass an instance of DAL through other instances and use "reference type"?

2011-11-09 Thread Bruno Rocha
Also, it happens only on second request (form submission) the form loads ok, when submitted the error occurs. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: I can not pass an instance of DAL through other instances and use "reference type"?

2011-11-09 Thread Bruno Rocha
On Wed, Nov 9, 2011 at 5:07 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Do you have a complete traceback? Tracebacks here: https://gist.github.com/1353930 Full code for testing here: https://github.com/rochacbruno/Movuca Note that if I remove "reference " from models and user

[web2py] Re: I can not pass an instance of DAL through other instances and use "reference type"?

2011-11-09 Thread Massimo Di Pierro
Do you have a complete traceback? On Nov 9, 4:04 am, Bruno Rocha wrote: > Hello, > > I'm trying to reach a new development model with web2py, and my goal is an > application without models. (or almost no models) > > why? Well, not always want to have db, auth, all tables defined in the > db, for