Ticket #10600: admin-options-trans.diff
File admin-options-trans.diff, 862 bytes (added by , 16 years ago) |
---|
-
django/contrib/admin/options.py
495 495 obj_display = force_unicode(obj) 496 496 self.log_deletion(request, obj, obj_display) 497 497 queryset.delete() 498 self.message_user(request, _("Successfully deleted %d %s.") % ( 499 n, model_ngettext(self.opts, n) 500 )) 498 self.message_user(request, 499 _("Successfully deleted %(num)d %(obj)s.") % \ 500 {'num': n, 501 'obj': model_ngettext(self.opts, n)} 502 ) 501 503 # Return None to display the change list page again. 502 504 return None 503 505