Kaydet (Commit) 7b98fe98 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Fixed #12278 -- Corrected an example usage of string_concat. Thanks to loumz for…

Fixed #12278 -- Corrected an example usage of string_concat. Thanks to 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
üst bae2fa6f
......@@ -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
......
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