> Can you show us your table definition? db.define_table('contrib', Field('titulo', label=T('Title'), requires=IS_NOT_EMPTY(error_message=u'El título no puede estar vacío')), Field('autor', requires=IS_NOT_EMPTY( error_message=u'El autor no puede estar vacío')), Field('estado', default='nuevo', requires=IS_IN_SET(VALOR_ESTADOS)), Field('numero', 'integer', label=T('Number'), requires=IS_EMPTY_OR(IS_INT_IN_RANGE(0, 1000)), represent=lambda valor, fila: valor or '--'), Field('terminado', 'boolean'), Field('archivo', 'upload', autodelete=True), Field.Virtual('cant_eval', lambda row: db(db.eval.contrib_id == row.contrib.id).count(), label='# eval'), auth.signature, singular=T('contribución'), plural=T('contribuciones'), format = lambda r:r.titulo )
> > Others will have to answer whether the CSV code knows whether a field is > virtual or actual. Looking at gluon/tools.py, server_csv() calls > universal_caller(), which appears to pass along as many positional and named > arguments as it can, and for the csv case the named args come from > request.vars. Hopefully someone can help with the problem... -- o-=< Marcelo >=-o -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.