e ... i meant testing.py *model*
On Wednesday, August 22, 2012 6:53:52 PM UTC+2, Anthony wrote:
>
> And now a small explanation of why I did not notice this at first:
>> I had a define_table in a testing.py controller. I have removed this
>> controller from my development repo, but since I am
>
> And now a small explanation of why I did not notice this at first:
> I had a define_table in a testing.py controller. I have removed this
> controller from my development repo, but since I am rsyncing to the web2py
> applications directory, that old testing.py controller was still in the
>
Thanks guys,
After all your comments I have found the problem: my agent database was
defined *twice* in my models, one time with computed fields, the final time
without them. I was getting very strange behavior and was quite confused -
understandably.
I have removed the phoney definition, and
>
>
>>
>> Field('password', 'password', length=512,
>> compute=automatic_password,readable
>> =False, label='Password'),
>>
>> The functions create_new_agent and automatic_password are part of my
>> libraries. They are returning the expected types (strings in both cases)
>>
>
> If you search
On Wednesday, 22 August 2012 15:28:50 UTC+2, Johann Spies wrote:
>
> Hallo Daniel,I have defined a database table which has some fields which
> must be computed:
>>
>>
>>
>> Field('password', 'password', length=512,
>> compute=automatic_password,readable
>> =False, label='Password'),
>>
>>
Hallo Daniel,I have defined a database table which has some fields which
must be computed:
>
>
>
> Field('password', 'password', length=512,
> compute=automatic_password,readable
> =False, label='Password'),
>
> The functions create_new_agent and automatic_password are part of my
> libraries
6 matches
Mail list logo