hartnett
2013-01-17 01:43:40 +08:00
感谢2位大牛,目前用以下模板可以显示了:
{{ entries }}
{% for entry in entries %}
<li>{{ entry.values() }}
{% end %}
<pymongo.cursor.Cursor object at 0x0278F5B0>
[u'\u90ed\u4f1f', u'\u597d\u7684', datetime.datetime(2012, 9, 28, 10, 52, 53), 0L, u'\u66f9\u4f1f', ObjectId('50e5903ceb62f732ecde2c0e')]
[u'\u90ed\u4f1f', u'\u7eaf\u7cb9\u662f\u51e0\u7387\u7684\u8fd0\u6c14\u3002\u6253\u5f00\u5c31\u76f4\u63a5\u4fee\u6539\u5c5e\u6027', datetime.datetime(2012, 9, 28, 10, 45, 21), 0L, u'\u66f9\u4f1f', ObjectId('50e5903ceb62f732ecde2b47')]