is there syntax for including the "created_on" field within a table
definition?
I need to define a label for "created_on" like this:
db.VerifiedConnection.created_on.label = 'Date invited'
this works outside of the define_table area. Is there a way to include it
inside the define_table area the same way that "id" can be (e.g.,
Field('id', 'id'), )
If I use Field('created_on', label = 'Date invited'), I get an error when
assigning it "datetime' attribute.
thanks
Alex Glaros
--
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.