Django自动添加当前日期时间到数据库

 models.DateTimeField(auto_now_add=True)
posted @ 2013-08-07 10:23  CimiChen  阅读(393)  评论(0)    收藏  举报