突然之前我创建并发布的一些页面返回“找不到”错误。重新发布它们并不能解决问题。没有错误日志,只是以下apache日志:django-cms条目给出“未找到页面”错误
[Wed Jul 17 12:37:18 2013] [error] /var/www/cms/venv/lib/python2.6/site-packages/django/conf/urls/defaults.py:3: DeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead
[Wed Jul 17 12:37:18 2013] [error] DeprecationWarning)
[Wed Jul 17 12:37:18 2013] [error] /var/www/cms/venv/lib/python2.6/site-packages/mptt/models.py:305: DeprecationWarning: Implicit manager CMSPlugin.tree will be removed in django-mptt 0.6. Explicitly define a TreeManager() on your model to remove this warning.
[Wed Jul 17 12:37:18 2013] [error] DeprecationWarning
[Wed Jul 17 12:37:18 2013] [error] /var/www/cms/venv/lib/python2.6/site-packages/django/db/models/fields/__init__.py:827: RuntimeWarning: DateTimeField received a naive datetime (2013-07-17 12:37:18.775099) while time zone support is active.
[Wed Jul 17 12:37:18 2013] [error] RuntimeWarning)
[Wed Jul 17 12:37:18 2013] [error] WARNING 2013-07-17 12:37:18,825 base 19632 140515393550304 Not Found: /en/departments/
任何可能的原因呢?谢谢。
嗨,何塞,感谢您的详细回复,并对延迟回答感到抱歉!这听起来很合理,但我使用日期时间的唯一地方是南迁!我的意思是,南部生成的.py文件,以及我之前已经应用的.py文件。我应该担心这些吗?在这种情况下,我应该回滚这些迁移吗? – sogeking