我正在嘗試使用Django並添加一個flatpage。Python,Django和flatpage
ValueError異常在/管理/的flatpages /簡單頁面/添加/
不能使用無作爲查詢值
Request Method: POST
Request URL: http://localhost:8000/admin/flatpages/flatpage/add/
Django Version: 1.4.2
Exception Type: ValueError
Exception Value:
不能使用無作爲查詢值
Exception Location: C:\Python27\lib\site-packages\django\db\models\sql\query.py in add_filter, line 1095
Python Executable: C:\Python27\python.exe
Python Version: 2.7.3
Python Path:
['C:\\Users\\ivo\\Desktop\\eclipse-jee-indigo\\workspace\\blog',
'C:\\Users\\ivo\\Desktop\\eclipse-jee-indigo\\workspace\\blog',
...
'C:\\Python27\\lib\\site-packages\\Pythonwin']
如何獲得擺脫它?
謝謝
Stacktrace?異常消息? – jpic
請顯示您的代碼。 –
必須給我所有包含大約30個文件的代碼?我從網站http://www.udemy.com/full-django-tutorial/上的課程視頻中嘗試。 – ivo