报错和UTC(世界标准时间)有关,在settings.py 文件中设置 USE_TZ = False 警告错误不再报 转载于:https://www.cnblogs.com/IT-Crowd/p/11279845.html