I think:
headers={'nfatype.nfatype':'medium', 'nfa.adres':'adres'}
On Nov 18, 4:27 am, annet <[email protected]> wrote:
> I have the following function:
>
> records=crud.select(db.nfa, query=((db.nfa.bedrijf==auth.user.bedrijf)&
> (db.nfa.nfatype==db.nfatype.id)),\
> fields=['nfatype.nfatype','nfa.adres'], orderby='nfa.nfatype',
> headers={'nfatype.nfatype', 'medium', 'nfa.adres', 'adres'})
>
> When I remove the headers attribute from the code it works, what is
> the correct
> syntax for the headers attribute?
>
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---