Sorry that title is the error I would see when trying to access the default
value of first_name

On Mon, Sep 13, 2010 at 9:26 PM, ukolo <randra...@gmail.com> wrote:

> Hello
>
> I am trying to access this and other fields
>
> db.define_table(
>    auth.settings.table_user_name,
>    Field('first_name', length=128, default=''),
>
> from this table
>
> db.define_table('product',
>    Field('user', custom_auth_table,
> default=custom_auth_table.first_name, readable=False, writable=False),
>
> I am trying to figure out why I can't pull first_name or other values
> from my data
>
> {{for row in rows:}}
>
>  {{=row.user}}
>
> Ultimately I would like to be able to use other values also like
>
>  {{=row.user.custom_auth_table.last_name}}
>
> or
>
> {{=row.user.custom_auth_table.email}}
>
> How can I do this?
>
> Any ideas *cheers

Reply via email to