not sure without seeing the full code, but i guess you are not define table 
department before define auth tables.

best regards,
stifan

On Friday, August 14, 2015 at 4:46:45 PM UTC+7, Paolo Amboni wrote:
>
> This don't work:
> auth.settings.extra_fields['auth_user']= [ Field('id_dep','reference 
> departement'),]  :
> Cannot resolve reference departement in auth_user definition
> This work:
> auth.settings.extra_fields['auth_user']= [ Field('id_dep','integer'),]
>
> Why?
>
> Is there a way to make it work?
>

-- 
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