When deleting multiple (or even a single) objects from the object list using the actions bar
I get a KeyError exception that says "objects_name" is not defined
Exception Type: |
TemplateSyntaxError |
Exception Value: |
Caught KeyError while rendering: u'objects_name' |
In template
grappelli/templates/admin/delete_selected_confirmation.html
, error at line
32
The offending template line is this one:
<h2>{% blocktrans %}Are you sure you want to delete the selected {{ objects_name }} objects? All of the following objects and their related items will be deleted:{% endblocktrans %}</h2>
The weird thing is that I've checked in the original django template and the code is the same, so I guess this isn't a variable introduced by grappelli.. I don't
think grappelli override this view neither..
Any idea ?
--
Maxime Haineault
Consultant Web / Associé
∞ Motion Média
http://motion-m.ca m...@motion-m.ca
(450) 747-0862