Interesting I have this working without passing the self parameter, anyways
this is an old code I update this code a lot. And yes is not need to use a
defined auth you can remove it.

2011/12/5 Anthony <abasta...@gmail.com>

> Why do you do:
>
> self.auth_def = lambda: self.define_auth
>
> Anyway, that won't work as expected, because your lambda returns a
> function instead of calling the function. Also, you might need to add the
> 'self' parameter to the lambda. Maybe:
>
> self.auth_def = lambda self: self.define_auth()
>
> But again, what is the purpose of that?
>
> Anthony
>
>
> On Monday, December 5, 2011 11:24:18 AM UTC-5, Constantine Vasil wrote:
>>
>> the only way to see it is to recreate the project. Custom imports solves
>> a real speed issue and everything will work much faster so it is worth to
>> do it. But this issue should be resolved. Because the debugger cannot be
>> used it is very hard to detect. I mentioned it because i wanted to hide the
>> first, last name and the password comment from register page the usual way,
>> but they continued to show up. Wondering what gives, I moved these setting
>> in *init_auth** *and now it works as expected.
>>
>> So I believe in def *init_auth*(self), this statement
>>
>> self.*auth_def*() #the auth definition
>>
>> does not executes at all.
>>
>>


-- 
 http://martin.tecnodoc.com.ar

Reply via email to