Thanks for you answer.
It solved my problem.
Have a good day.

On Tue, 7 May 2019 at 19:30, <[email protected]> wrote:

> auth_signature creates these 4 fields:
> created_on
> created_by
> modified_on
> modified_by
>
> You are trying to access a field called dateofcreation which doesn't exist.
> In default\index replace dateofcreation with created_on.
>
>
>
> terça-feira, 7 de Maio de 2019 às 15:52:05 UTC+1, Fabio Gubler escreveu:
>>
>> Hi,
>> I' new to web2py and I try to follow Massimo Di Pierro video on
>> YouTube/Vimeo.
>> When I change in db1.py the 4 following 4 rows:
>> Field('dateofcreation', 'datetime'),
>> Field('created_by', 'reference auth_user'),
>> Field('modified_by', 'reference auth_user'),
>> Field('modified_on', 'datetime'))
>> with
>> auth.signature
>> I get a error ticket.
>> It seems that in the default/index.html at the line 131  (response.write(
>> row.timeofcreation)) raise the following error:
>> AttributeError()
>> Could somebody help me to overcome this problem?
>> Tanks in advance.
>> Have a good day.
>>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/ac285539-985f-49c8-8f92-5d8d3286844e%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/ac285539-985f-49c8-8f92-5d8d3286844e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CALtc%2BY%3DY2hZ0n3V%2BsTOR_%2BxpTiwT871feMtr4NUfhP_kXZP6jw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to