[web2py] Re: DAL has not attribute db when field is a reference to another table

2014-03-06 Thread PN
Problem found and fixed - it was in my own code. I was using the wrong format to reference another table, changed it to match what is specified in the web2py book and all is well. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sourc

[web2py] Re: DAL has not attribute db when field is a reference to another table

2014-03-06 Thread PN
On further digging, I see that this set of lines - around 2018 in dal.py were changed from a much simpler version that did not use self.db. However, I still don't see why the code throws a self.db error on line 2018, instead of in, say a few lines about it when the code again references self.db