http://961911.blog.51cto.com/951911/1557218
修改settings.py,添加一下内容:
USE_L10N = False
DATETIME_FORMAT = 'Y-m-d H:i:s'
DATE_FORMAT = 'Y-m-d'
http://961911.blog.51cto.com/951911/1557218
修改settings.py,添加一下内容:
USE_L10N = False
DATETIME_FORMAT = 'Y-m-d H:i:s'
DATE_FORMAT = 'Y-m-d'
转载于:https://www.cnblogs.com/linkenpark/p/7260880.html