Skip to content
Browse files

Fixed #9506 -- Marked error string for translation.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 7e03244 commit e40bd61ef7cf96934eaafa4175f82de964967174 @kmtracey kmtracey committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/
2 django/contrib/admin/
@@ -556,7 +556,7 @@ def change_view(self, request, object_id, extra_context=None):
raise PermissionDenied
if obj is None:
- raise Http404('%s object with primary key %r does not exist.' % (force_unicode(opts.verbose_name), escape(object_id)))
+ raise Http404(_('%s object with primary key %r does not exist.') % (force_unicode(opts.verbose_name), escape(object_id)))
if request.method == 'POST' and request.POST.has_key("_saveasnew"):
return self.add_view(request, form_url='../../add/')

0 comments on commit e40bd61

Please sign in to comment.
Something went wrong with that request. Please try again.