Hi,
i have a table of locations:
db.define_table('entry_location',
Field('name', 'string',
required=True,
requires=IS_NOT_EMPTY(),
label=LABEL(T("Naziv"), _for="entry_location_name")),
Field('parent_id', 'reference entry_location',
requires=IS_NULL_OR(IS_IN_DB(db, 'entry_location.id',
'%(name)s', zero=T("Molimo odaberite roditeljsku lokaciju"))),
label=LABEL(T("Roditelj"), _for=
"entry_location_parent_id")),
Field('gps_x', 'double',
label=LABEL(T("GPS X koordinata"), _for=
"entry_location_address_2")),
Field('gps_y', 'double',
label=LABEL(T("GPS Y koordinata"), _for=
"entry_location_address_3")),
Field('zoom', 'integer'),
)
Is there any way that i could select all child's of certain location?
--
---
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/groups/opt_out.