mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
unicode: Converted the template output and database I/O interfaces to
understand unicode strings. All tests pass (except for one commented out with "XFAIL"), but untested with database servers using non-UTF8, non-ASCII on the server. git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@4971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -351,7 +351,7 @@ __test__['API_TESTS'] += """
|
||||
>>> a101.save()
|
||||
>>> a101 = Article.objects.get(pk=101)
|
||||
>>> a101.headline
|
||||
'Article 101'
|
||||
u'Article 101'
|
||||
|
||||
# You can create saved objects in a single step
|
||||
>>> a10 = Article.objects.create(headline="Article 10", pub_date=datetime(2005, 7, 31, 12, 30, 45))
|
||||
|
||||
Reference in New Issue
Block a user