Kaydet (Commit) b403e43c authored tarafından Jannis Leidel's avatar Jannis Leidel

Updated core base translation files with new strings. Refs #17822.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst a78e61b5
......@@ -51,7 +51,7 @@ def serve(request, path, document_root=None, show_indexes=False):
return directory_index(newpath, fullpath)
raise Http404(_(u"Directory indexes are not allowed here."))
if not os.path.exists(fullpath):
raise Http404(_(u'"%s" does not exist') % fullpath)
raise Http404(_(u'"%(path)s" does not exist') % {'path': fullpath})
# Respect the If-Modified-Since header.
statobj = os.stat(fullpath)
mimetype, encoding = mimetypes.guess_type(fullpath)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment