clowwindy的杂草牧场

   :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理
  34 Posts :: 2 Stories :: 74 Comments :: 0 Trackbacks

公告

2010年9月11日 #

摘要: I'm using django with a legacy mysql db which uses TIMESTAMP columns. Django's inspectdb recognize those fields as int fields. This caused troubles if you want to render its value into a readable date. I googled and found this solution:http://ianrolfe.livejournal.com/36017.html代码Code highlig阅读全文
posted @ 2010-09-11 18:34 clowwindy 阅读(1510) 评论(0) 编辑