Yes:

auth_table.bedrijf.requires=[IS_IN_DB(db, db.bedrijf.id, '%
(bedrijfsnaam)s')]

should be

db.auth_table.bedrijf.requires=[IS_IN_DB(db, db.bedrijf.id, '%
(bedrijfsnaam)s')]



On Jan 6, 12:00 pm, annet <annet.verm...@gmail.com> wrote:
> Massimo,
>
> The line now reads like:
>
> auth.settings.table_user=db.define_table
> (auth.settings.table_user_name,
>
> What should the validators read like:
>
> auth_table.bedrijf.requires=[IS_IN_DB(db, db.bedrijf.id, '%
> (bedrijfsnaam)s')]
>
> This results in an error.
>
> I got the line of code I used to define the table from the manual:
> page 245 of the .pdf file. (Customizing Auth)
>
> Kind regards,
>
> Annet.
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to