I wanted to submit a patch, but I thought I'd ask first.

I looked around for previous discussion, this was the closest to what I've 
done: https://groups.google.com/d/topic/web2py/M8vXPX6rExU/discussion.

It would be nice to have the date created field by default, it's one of the 
first things I look at when dealing with users, customers etc on any 
platform, not just web2py sites.

Currently I've done this in my model:

auth.settings.extra_fields['auth_user'] = [Field( 'time_stamp', 
type='datetime', default=request.now )]

But can this Field be declared in Auth.define_tables()? 

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to