db.define_table('pais',
Field('nombre', unique=True),
Field('continente', 'string', requires=IS_IN_SET(CONTINENTES)),
Field('es_UE', 'boolean', default=False),
format='%(nombre)s', )
and the controller:
@auth.requires_login()
def sheet():
tablename = request.args[0]
table = db[tablename]
try:
t = (k for k in request.vars if k.startswith('_table_name_')).next
()
id_t = t[12:]
except StopIteration:
id_t = None
sheet = ERTable(table, id=id_t)
if sheet.accepts(request.vars):
session.flash=T('Datos modificados')
redirect(URL(f='sheet', args = request.args))
return dict(sheet=sheet)
produce the screenshot attached. The other features are hard to
screnshoot...
El viernes, 12 de abril de 2013 17:19:16 UTC+2, Massimo Di Pierro escribió:
>
> Will check this asap. Can you post some screenshots?
>
>
--
---
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.
<<attachment: Captura de pantalla - 120413 - 23:19:59.png>>

