Well, but even initializing db and auth for evey request I still get the
not validating bug...

ill attach my code to you to take a look.


On Tue, Aug 14, 2012 at 1:44 PM, Felipe Meirelles <poz...@gmail.com> wrote:

> 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.
>
>


-- 
Att,
Felipe Meirelles.

-- 



{{=form}} {{if request.args(0)=='login':}} {{if 0:}} {{if not 'register' in auth.settings.actions_disabled:}}
{{=T("register")}} {{pass}} {{if not 'request_reset_password' in auth.settings.actions_disabled:}}
{{=T("lost password")}} {{pass}} {{pass}} {{pass}}

Attachment: auth.py
Description: Binary data

Attachment: db.py
Description: Binary data

Attachment: default.py
Description: Binary data

Reply via email to