Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #12278 -- Corrected an example usage of string_concat. Thanks t…

…o loumz for the report, and timo for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7b98fe98f4b458207085c9548ad8999a71c7a401 1 parent bae2fa6
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/i18n/internationalization.txt
View
2  docs/topics/i18n/internationalization.txt
@@ -283,7 +283,7 @@ is included in a string. For example::
...
name = ugettext_lazy(u'John Lennon')
instrument = ugettext_lazy(u'guitar')
- result = string_concat([name, ': ', instrument])
+ result = string_concat(name, ': ', instrument)
In this case, the lazy translations in ``result`` will only be converted to
strings when ``result`` itself is used in a string (usually at template
Please sign in to comment.
Something went wrong with that request. Please try again.