Ticket #1347: delete.diff
File delete.diff, 779 bytes (added by , 19 years ago) |
---|
-
django/contrib/admin/views/main.py
647 647 obj.delete() 648 648 log.log_action(request.user.id, opts.get_content_type_id(), object_id, obj_display, log.DELETION) 649 649 request.user.add_message(_('The %(name)s "%(obj)s" was deleted successfully.') % {'name':opts.verbose_name, 'obj':obj_display}) 650 return HttpResponseRedirect( "../../")650 return HttpResponseRedirect(request.GET.get('redirect', None) or "../../") 651 651 return render_to_response('admin/delete_confirmation', { 652 652 "title": _("Are you sure?"), 653 653 "object_name": opts.verbose_name,