我綁通過設置隱藏在管理我的蛞蝓領域編輯=假但每次我這樣做,我得到以下錯誤時間:隱藏字段
KeyError at /admin/website/program/6/
Key 'slug' not found in Form
Request Method: GET
Request URL: http://localhost:8000/admin/website/program/6/
Exception Type: KeyError
Exception Value:
Key 'slug' not found in Form
Exception Location: c:\Python26\lib\site-packages\django\forms\forms.py in __getitem__, line 105
Python Executable: c:\Python26\python.exe
Python Version: 2.6.4
知道爲什麼這正在發生的事情
你能展示你的模型和你的模型,窗體和視圖嗎? – Brant 2010-04-21 18:28:59
我把它們放在dpaste http://dpaste.com/186243/ – jwesonga 2010-04-21 18:34:14