clowwindy的杂草牧场

   :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  34 随笔 :: 1 文章 :: 75 评论 :: 13万 阅读

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 阅读(3267) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示