摘要:
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 阅读全文