Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #9506 -- Marked error string for translation.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e40bd61ef7cf96934eaafa4175f82de964967174 1 parent 7e03244
@kmtracey kmtracey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/options.py
View
2  django/contrib/admin/options.py
@@ -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.