[1.0.X] Fixed #9300 -- Typo fix in docs.

Backport of r9131 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-10-05 06:21:52 +00:00
parent 571b159dd3
commit b0be5af39c
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ The strings you pass to ``_()`` or ``ugettext()`` can take placeholders,
specified with Python's standard named-string interpolation syntax. Example::
def my_view(request, m, d):
output = _('Today is %(month)s, %s(day)s.') % {'month': m, 'day': d}
output = _('Today is %(month)s, %(day)s.') % {'month': m, 'day': d}
return HttpResponse(output)
This technique lets language-specific translations reorder the placeholder