admin - delete_selected problem

65 views
Skip to first unread message

galgal

unread,
Aug 2, 2011, 9:18:45 AM8/2/11
to django...@googlegroups.com


In admin.py file i paste:admin.site.disable_action('delete_selected')



And get an error:


KeyError at /

'delete_selected'

Django Version: 1.3 Exception Type: KeyError Exception Value:

'delete_selected'

Exception Location: c:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\contrib\admin\sites.py in disable_action, line 127

Any idea why it occurs? In my previous websites I haven't that error and it is strange for me.
Reply all
Reply to author
Forward
0 new messages