Seasons of Los Angeles 洛城四季

最后的叶子落下的时候 When last leaf falls 你和冬天一起来到我身边 Along with Winter you come to me 海都不动了 Ocean remains still 我把蓝天给了你 I give you sky 把蓝色留给自己 Leaving myself the blue 第一朵蓝花楹绽开的时候 When first Jacaranda blooms 你和春天一起拂过窗前 Along with Spring you pass my window 星都不闪了 Stars no longer glow 我把雪山给了你 I give you snow peaks 把冰川留给自己 Leaving myself the […]

Template rendered html email for Web2py email verification and password reset

For discussion about this old problem, read Google group thread here. I ended up modifying gluon/tools.py. It is probably not a good practice. But it is the easiest solution. I edit register() and email_reset_password() modifying something like (depends on which one) message=self.messages.verify_email % d to message=(”,response.render(’email/template.html’, d)) Be careful with the ending parentheses, the two […]