摘要:
在用django1.8版本做项目的时候遇到时间的存储与读取不一致的问题,网上找了很多帖子,但都没有讲明白。本文将在项目中遇到的问题及如何解决的尽可能详细的记录下来,当然本文参考了网上大量相关文章。 在django1.4以后,存在两个概念:naive time 与 active time。简单点讲,n 阅读全文
摘要:
You are trying to add a non-nullable field 'SKU' to product without a default; we can't do that (the database needs something to populate existing row 阅读全文