Closed onurmatik closed 11 years ago
+1 Exact same thing
It seems this is the dict that is passed (context_data), which does not have 'cl': (using ------- to substitute for actual data)
{'action_checkbox_name': '_selected_action', 'app_label': '---------', 'deletable_objects': [[------------------]], 'objects_name': u'---------', 'opts': <Options for ----------->, 'perms_lacking': set(), 'protected': [], 'queryset': [----------------------], 'title': u'Are you sure?'}
And, for the same model admin, it only happens when certain objects are involved but I couldn't identify why.
@omat Added pull request, you can use my fork temporarily if you want. It's a simple fix if you want to just patch your copy too.
thanks @scdoshi and sorry for the late response. i confirm that your fix solved the problem.
Thanks much, merged.
I am using the latest version of olwidget from the master branch with Django Version 1.4. When I try to delete items selecting from the list view using the "delete selected" admin action, I get the following error: