Sorry, the DB was still static. Just created a init_db() and worked as spected.
On Tue, Aug 14, 2012 at 1:18 PM, Anthony <abasta...@gmail.com> wrote: > Can you show the exact code you're using in the module and controller? > > > On Tuesday, August 14, 2012 12:07:15 PM UTC-4, Felipe Meirelles wrote: > >> Now I'm getting this error when I call the initialization method: >> >> SyntaxError: invalid table name: auth_user >> >> On Tue, Aug 14, 2012 at 10:38 AM, Anthony <abas...@gmail.com> wrote: >> >>> On Tuesday, August 14, 2012 9:14:21 AM UTC-4, Felipe Meirelles wrote: >>>> >>>> But the DB object can be static through requests as well or I should >>>> instantiate it on every request too? >>>> >>> >>> You should instantiate on every request (that needs the db). >>> >>> Anthony >>> >>> -- >>> >>> >>> >>> >> >> >> >> -- >> Att, >> Felipe Meirelles. >> >> -- > > > > -- Att, Felipe Meirelles. --