On Thu, Oct 8, 2009 at 3:59 AM, Markus Schmitz <[email protected]>wrote:

>
> Hi everybody,
>
> .....

> looks something like this:
>
> db.define_table('ports',
>    Field('name','string'),
>    Field('port_agent_id','references port_agents')  # this references
> ahead and does not work
>

You have a typo here - this needs to be: ... ,'reference port_agents')  #
NOT  reference*s* - see p. 178 of the manual for examples;

   )
>
>
- Yarko

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

Reply via email to