Malcolm Tredinnick
c2c585f0f0
unicode: Added a note about some tests that fail for MySQL. Changed the test
...
data slightly so that it will even fit into a server who's default encoding is
latin1, but still no luck. :-(
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-22 00:46:08 +00:00
Malcolm Tredinnick
6f23be4ee9
unicode: Merged from trunk up to [5308].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 23:24:06 +00:00
Malcolm Tredinnick
f1091ec619
unicode: Fixed #4340 -- added a few character set encodings that PostgreSQL 7.x
...
can return. Pointed out by tim@tryphon.org .
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 17:05:02 +00:00
Malcolm Tredinnick
695a21ae7f
unicode: Fixed a couple of places where IRI fragments are being used and need
...
to be converted correctly.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 00:19:17 +00:00
Malcolm Tredinnick
3d74a68a51
unicode: Fixed iri_to_uri() to be not quite as broken (I think it's spec
...
compliant now). Removed use of iri_to_uri() in the urlencode filter and made a
new iriencode filter, because IRI->URI conversionis are not a superset of URL
quoting converstions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 00:17:23 +00:00
Malcolm Tredinnick
68a0f4f51b
unicode: Added support for sending email that contains unicode data. Refs #3398 .
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-18 18:23:34 +00:00
Malcolm Tredinnick
e10da26109
unicode: Started making the necessary documentation changes required for
...
unicodification.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-17 20:27:12 +00:00
Malcolm Tredinnick
6042458926
unicode: Merged from trunk up to [5265].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-17 18:35:22 +00:00
Malcolm Tredinnick
c0b451fcfa
unicode: Added iri_to_uri() utility function and use it in the databrowse app.
...
Should make getting this stuff right a bit easier.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-17 18:19:40 +00:00
Malcolm Tredinnick
52b0051523
unicode: Added (optional) explicit template encoding specification. Also ported
...
contrib.sitemaps over (we want to ensure the output XML is in a valid encoding,
so we force UTF-8 in this case).
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-17 16:55:38 +00:00
Malcolm Tredinnick
a8404e66fd
unicode: Audited most of the remaining contrib/ modules for unicode compliance
...
(only sitemaps remaining). Fixes here for databrowse, markup and webdesign.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-17 01:24:58 +00:00
Malcolm Tredinnick
5b4e2637f9
unicode: Fixed urlencode filter to handle IRI portions and map them to URI
...
portions correctly.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-17 01:19:03 +00:00
Malcolm Tredinnick
e4cd34cbee
unicode: Test changes that I forgot to commit in [5271].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 23:11:49 +00:00
Malcolm Tredinnick
4a7727e46e
unicode: Unicode audit pass through localflavor. Also fixed a few common
...
stylistic errors.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 23:10:31 +00:00
Malcolm Tredinnick
1ad97d0634
unicode: Fixed #4315 -- Fixed a problem with passing unicode strings as keyword
...
arguments in a function call (so admin list_filters work again now).
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 22:41:35 +00:00
Malcolm Tredinnick
abba09c6d2
unicode: Fixed #4314 -- Allow non-ASCII characters in password strings.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 22:30:54 +00:00
Malcolm Tredinnick
d5946c5946
unicode: Found a str() call that had snuck through the cracks.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 22:23:36 +00:00
Malcolm Tredinnick
2cebf777e3
unicode: Fixed #4313 -- fixed a problem with unicode strings and datetime
...
format filters.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 22:22:53 +00:00
Malcolm Tredinnick
095d3ca8eb
unicode: Audited humanize app for unicode compliance.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 14:45:58 +00:00
Malcolm Tredinnick
1ca5bc0f0c
unicode: Audited comment app. Only a couple of minor changes needed.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 13:24:18 +00:00
Malcolm Tredinnick
0e2043deef
unicode: Fixed a couple of potential unicode problems in auth module.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 12:51:18 +00:00
Malcolm Tredinnick
abf514053b
unicode: Renamed no_trans() to the more descriptive deactivate_all(). Added a
...
verbose_name_raw attribute to the model Options class so that we can more
conveniently access the untranslated model name when we need to.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 12:50:27 +00:00
Malcolm Tredinnick
267dcdb1e6
unicode: Audited syndication framework for unicode correctness.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 18:11:15 +00:00
Malcolm Tredinnick
9d001fa7f9
unicode: Made the serializers unicode-aware. Refs #3878 , #4227 .
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 16:14:55 +00:00
Malcolm Tredinnick
0e4c3838ab
unicode: Improved the fix for debug query logging from [5208]. Refs #3891 .
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 16:13:37 +00:00
Malcolm Tredinnick
19ad4a47ba
unicode: Added test to verify fix of #3492 .
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 21:58:01 +00:00
Malcolm Tredinnick
cd3d40ec91
unicode: Fixed handling of unicode data passed to test client. Refs #3432 .
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 21:50:38 +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
36c508d1ed
unicode: Audited contrib.contentypes for unicode problems.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 19:05:16 +00:00
Malcolm Tredinnick
03b86ea12d
unicode: Fixed #4292 -- Added support for __unicode__ to lazy() objects.
...
Thanks, Ivan Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 19:04:06 +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
3916cfbaff
unicode: Replaced all implicit uses of _() from builtins with explicitly
...
importing ugettext and aliasing it to _. Refs #2920 .
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 11:56:20 +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
2aa9d45c01
Reintroduced support for parameter dictionaries when using the PostgreSQL
...
psycopg1 backend directly. Refs #3322 . Based on a patch from kurtiss@meetro.com .
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 10:48:24 +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
e1593cca3f
unicode: Merged from trunk up to [5222] (want to use the extra tests).
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 07:16:27 +00:00
Malcolm Tredinnick
6c99a60e0d
unicode: Made various changes to prevent actual and potential Python 2.3
...
compatibility problems. Refs #3582 .
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 07:04:31 +00:00
Malcolm Tredinnick
28f66bb097
unicode: Merged from trunk up to [5213].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-13 06:23:30 +00:00
Malcolm Tredinnick
bc044651aa
unicode: Make sure we don't try to insert unicode data into bytestrings in the
...
debug database cursor. Might not be necessary, but it can't hurt in any case.
Refs #3891 .
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 15:40:46 +00:00
Malcolm Tredinnick
50ef85f6e2
unicode: Added another test to make sure we don't screw up bytestrings.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 15:31:52 +00:00
Malcolm Tredinnick
994714d8cc
unicode: Added some more unicode conversions in django.db.models.*.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 15:07:17 +00:00
Malcolm Tredinnick
1026402499
unicode: Adjusted the admin interface to handle unicode strings. May still need
...
some tweaking, but the bulk of it should be correct. Fixed #4266 .
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 10:34:34 +00:00
Malcolm Tredinnick
7c45aad673
unicode: Added some bullet-proofing to the output encoding path. Passing bady
...
encoded data to template rendering shouldn't crash the framework.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 06:54:41 +00:00
Malcolm Tredinnick
a8e5db536e
unicode: Removed some duplicated code that had crept in. Some kind of tragic
...
"falling asleep on keyboard" accident whilst vim was open, I assume.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 06:32:23 +00:00
Malcolm Tredinnick
5e9aead902
unicode: Added handling for illegaly encoded form input.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 05:29:10 +00:00
Malcolm Tredinnick
7225efba50
unicode: Fixed #4249 -- Decode source files correctly in the debug view.
...
Thanks, Thomas Güttler.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-11 14:49:43 +00:00
Malcolm Tredinnick
56db7a6078
unicode: Fixed a problem when saving Unicode data in the admin interface.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-11 14:29:25 +00:00
Malcolm Tredinnick
a7a756e27e
unicode: Merged changes from trunk up to [5182].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-11 07:28:33 +00:00
Malcolm Tredinnick
ce4722a52a
unicode: First part of the form input changes. Form parameters are now
...
automatically returned as unicode.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-11 06:03:40 +00:00