我绑通过设置隐藏在管理我的蛞蝓领域编辑=假但每次我这样做,我得到以下错误时间:隐藏字段
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