Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def index():
- response.flash = T('Bem Vindos ao Cadastro de Contatos')
- query = db().select(db.contatos.ALL)
- contatos = []
- for p in query:
- contatos = {'nome':p.nome,'telefone':p.telefone, 'celular':p.celular,'foto':p.foto'}
- return dict(contatos=contatos)
Add Comment
Please, Sign In to add comment