mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #4796. Fixed a problem when using i18n support for the first time -- in
particular when string_concat() was the first call made. Thanks, Andy Durdin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -30,4 +30,12 @@ True
|
||||
>>> s4 = ugettext_lazy('Some other string')
|
||||
>>> s == s4
|
||||
False
|
||||
|
||||
unicode(string_concat(...)) should not raise a TypeError - #4796
|
||||
|
||||
>>> import django.utils.translation
|
||||
>>> reload(django.utils.translation)
|
||||
<module 'django.utils.translation' from ...>
|
||||
>>> unicode(django.utils.translation.string_concat("dja", "ngo"))
|
||||
u'django'
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user