突然之前我創建併發布的一些頁面返回「找不到」錯誤。重新發布它們並不能解決問題。沒有錯誤日誌,只是以下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