Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.0.X] Fixed #9506 -- Marked error string for translation.

[9360] from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 0776ba048a144fb5bdec35dac283e185fe172653 1 parent 1cbf9a9
@kmtracey kmtracey authored
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/')
Please sign in to comment.
Something went wrong with that request. Please try again.