7
RuntimeWarning:DateTimeField收到一个简单的日期时间
我正在尝试使用IPython发送简单的邮件。我尚未设置任何仍然出现此错误的模型。该怎么办? 错误:/home/sourabh/Django/learn/local/lib/python2.7/site-packages/django/db/models/fields/ init .py:827:RuntimeWarning:DateTimeField收到的是原始日期时间(2013-09-04 14:14:13.698105),时区支持处于活动状态。运行时警告) 已尝试:第一步是添加USE_TZ = True到您的设置文件并安装pytz(如果可能)。 错误已更改: (learn)sourabh@sL:~/Django/learn/event$ python manage.py shell /home/sourabh/Django/learn/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py:53: RuntimeWarning: SQLite received a naive datetime (2013-09-05 00:59:32.181872) while time zone support is active. RuntimeWarning)
309
django
django-mailer