db.define_table('group',
    ...
    Field('parent', 'referece group'),#, required=False),
    ...
    )


On Sep 27, 12:58 am, BioNip <[email protected]> wrote:
> See:http://pastie.textmate.org/632136
>
> As you can see I have a field that references it's own table. I get an
> error ("KeyError: group") on the "parent" line, because (I assume) the
> table hasn't been created yet for it to reference. Is there anyway
> around this?
>
> Thanks.
>
> -nip
--~--~---------~--~----~------------~-------~--~----~
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