1
0
mirror of https://github.com/django/django.git synced 2025-10-12 16:29:14 +00:00

11 Commits

Author SHA1 Message Date
Malcolm Tredinnick
4d31b5297b Fixed #4403 -- Stopped pushing form error messages (which are unicode strings)
through a __str__ method.


git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-28 13:02:16 +00:00
Malcolm Tredinnick
dd52eed2fb unicode: Made lazy translation objects work properly. Fixed #4295, #4320.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-22 08:06:57 +00:00
Malcolm Tredinnick
57ced25606 unicode: Merged from trunk to [5237].
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 19:42:13 +00:00
Malcolm Tredinnick
4c34343e17 unicode: Added in a test that I want to work later (once some i18n problems are
worked out).


git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 18:39:03 +00:00
Malcolm Tredinnick
fbfefbf83d unicode: Changed a few more places in newforms where str() was being used with
potential non-ASCII arguments. Refs #3406 (and added a test for the latter).


git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 16:06:27 +00:00
Malcolm Tredinnick
a4adfd780a unicode: Replaced remaining uses in Python code of gettext() with ugettext().
Similarly for ngettext, gettext_lazy and ngettext_lazy.


git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 11:24:37 +00:00
Malcolm Tredinnick
9de774aad8 unicode: Improved the test slightly for RadioSelect widgets with unicode
choices.


git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 10:18:29 +00:00
Malcolm Tredinnick
b493b7e3cf 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
2007-04-09 10:33:57 +00:00
Malcolm Tredinnick
f529a1f12e Fixed #3597 -- Fixed unicode encoding problem in form rendering. Thanks,
Georgi Stanojevski and Ville Säävuori.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04 13:52:35 +00:00
Malcolm Tredinnick
4a3db287f1 Fixed #3600 -- Made smart_unicode respect deferred evaluation in the case
of strings translated with gettext_lazy and friends.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-02 10:53:05 +00:00
Malcolm Tredinnick
c60587b5a7 Fixed #3810 -- In newforms, copy attribute dictionaries before modifying them
in place.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:26:26 +00:00