OK. For now do:
db.periodo_academico.sistema.represent = lambda v, row=None:
mi_represent(v, _status)
but please open a ticket about this pointing to this thread. This may be a
web2py bug.
On Monday, 19 November 2012 09:44:28 UTC-6, www.diazluis.com wrote:
>
> example:
>
> b50_periodo_academi
example:
b50_periodo_academico.py:
db.define_table('periodo_academico',
Field('carrera',db.carrera),
Field('codigo', 'string', length=16), #
Field('nombre', 'string', length=64, default='Carrera, Nombre del
Periodo'), # odontologia 2013-2014
Field('fecha_ini', 'date'),
Field
some where you have a Field(...,represent=something)
and something takes two arguments, not one. Can you show us the model?
On Friday, 16 November 2012 08:51:32 UTC-6, www.diazluis.com wrote:
>
> {{
> import cStringIO
> stream=cStringIO.StringIO()
> estudiante_arancel_rows.export_to_csv_file(ofil
3 matches
Mail list logo