[web2py] Problem with storage object

2012-05-16 Thread Rod Watkins
I have created a Storage object in a model to expose some settings gathered from the database. But I am facing a problem. When I access the object from a view, it works correctly, e.g., {{=gsettings.setting_name}} produces the correct text in my html. But if I try to access that value in my

Re: [web2py] Problem with storage object

2012-05-16 Thread Bruno Rocha
do you have a function named gsettings in controller? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Problem with storage object

2012-05-16 Thread Rod Watkins
No, no such function. On Wednesday, 16 May 2012 12:46:26 UTC-7, rochacbruno wrote: do you have a function named gsettings in controller? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Problem with storage object

2012-05-16 Thread Rod Watkins
Ahh, found it. I did have a function named gsettings. It was in a different model file and I had forgotten to delete it. Thanks for the suggestion. That was two hours wasted. :) Rod On Wednesday, 16 May 2012 12:46:26 UTC-7, rochacbruno wrote: do you have a function named gsettings in