It have a return on the file, i've deleted the comment on code to put here
and deleted the return too by mistake. Here is complete code. The same that
is having the issue:
@auth.requires_membership("secretaria")
def turmas():
campos = [db.alunos.id,db.alunos.nome,db.alunos.nome_responsavel,db
I think your action is missing a return value:
@auth.requires_membership("secretaria")
def turmas():
campos = [db.alunos.id,db.alunos.nome,db.alunos.nome_responsavel,db.
alunos.serie_turma]
form = SQLFORM.grid(db.alunos,fields=campos,deletable=False,orderby=
"alunos.nome")
return dict(
2 matches
Mail list logo