Worked!!! Thanks soooooooo much this has been bugging me for a while.

On Saturday, December 8, 2012 12:15:49 AM UTC, Anthony wrote:
>
> db.define_table('tutor',
>
>     Field('user', 'reference auth.user.id'),
>>     ...)
>>
>
> This is not correct. It should be 'reference [table name]', so in this 
> case, 'reference auth_user'. Perhaps you are attempting to set the default 
> to be auth.user.id (same as auth.user_id) -- to do that, do:
>
> Field('user', 'reference auth_user', default=auth.user_id)
>
> Anthony
>  
>

-- 



Reply via email to