Malcolm Tredinnick
bece031772
Fixed #5734 -- Fixed an omission where we weren't passing the "safe" argument
...
upstream in django.utils.http.urlquote(). Thanks, Thomas Güttler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 08:38:59 +00:00
Malcolm Tredinnick
5ef7c4c525
Fixed #5762 -- Quoted the portions that make up the URL when appending
...
"www." or adding a trailing slash in common middleware.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 08:31:05 +00:00
Malcolm Tredinnick
cb38521487
Changed the auth_backend tests in a cosmteic fashion so that they pass under Python 2.3 as well.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 08:15:42 +00:00
Malcolm Tredinnick
a0fdd7c7dd
Fixed #5778 -- Changed the way we detect if a string is non-ASCII when creating
...
email headers. This fixes a problem that was showing up on some (but not all)
systems.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 07:53:54 +00:00
Malcolm Tredinnick
f34935c37f
Slightly changed the way we handle non-UTF-8 encoded URIs (see [6475]). Made it
...
easier to subclass the current behaviour, if needed. Fixed #5738 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 07:42:34 +00:00
Malcolm Tredinnick
e60c26d5bb
Fixed #5562 -- Changed settings of Expires heading when expiring a cookie to
...
work with non-compliant browsers (also removes a non-compliance feature of our
own). Thanks, caifen1985@gmail.com and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 07:01:12 +00:00
Malcolm Tredinnick
570e8936d9
Fixed #4969 -- Changed content retrieval in HttpResponse to be more robust in
...
the presence of an existing content encoding. Fixes some sporadic failures with
the GzipMiddleware, for example. Thanks, Johann Queuniet.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 06:50:16 +00:00
Malcolm Tredinnick
aa320700d2
Added "new in development version" marker for [6545].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 06:30:44 +00:00
Malcolm Tredinnick
706659d2bb
Changed the way we handle HTTP headers internally so that they appear
...
case-insensitive, but the original case is preserved for output. This increases the chances of working with non-compliant clients without changing the external interface. Fixed #2970 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 05:58:48 +00:00
Malcolm Tredinnick
e172e7be57
Fixed #4724 -- Added support for configurable session cookie paths. Helps with
...
multiple Django installs under the same hostname. Thanks, frej and Graham
Dumpleton.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 05:13:56 +00:00
Malcolm Tredinnick
1a1a39738a
Fixed #5757 -- Updated Croation translation. Thanks, Aljosa Mohorovic.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 04:43:41 +00:00
Malcolm Tredinnick
21b40ed59c
Fixed #5696 -- Updated Argentinean Spanish translation. Thanks, Ramiro Morales.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 04:43:20 +00:00
Malcolm Tredinnick
da4ec5083d
Fixed #5694 -- Updated Hebrew translation. Thanks, Meir Kriheli.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 04:42:52 +00:00
Malcolm Tredinnick
dc9def7859
Fixed #5678 -- Added Polish transliteration to urlify.js. Thanks,
...
regexbot@gmail.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 04:42:30 +00:00
Malcolm Tredinnick
3ea87fb9c0
Fixed #5782 -- Fixed a small typo spotted by obeattie.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 04:16:40 +00:00
Malcolm Tredinnick
3e3a7e0258
Fixed a markup problem in the docstring for the "if" tag. This was showing up
...
in the admin docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 03:53:44 +00:00
Malcolm Tredinnick
c4cdb214a6
Fixed #5313 -- Only avoid compressing Javascript when the user agent says it's Internet Explorer. Thanks, mgiger@earthbrowser.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 03:45:48 +00:00
Malcolm Tredinnick
b6ec8d3a9e
Changed HttpResponse.get() to lower case the header value before looking it up. This makes it consistent will other header accesses. Fixed #5754 , #5772 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 03:32:21 +00:00
Malcolm Tredinnick
ad91f6889d
Fixed #4854 -- Recommended the use of forward slashes even in Windows configuration, to avoid having to worry about double-escaping issues. Based on a patch from adamv.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 03:21:51 +00:00
Matt Boersma
50b824d2b1
Fixed #5633 , refs #5626 : Change "Max OS X" to "Mac OS X" in tutorial01.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 15:43:45 +00:00
Malcolm Tredinnick
3375ed1128
Added default value for LOCALE_PATHS from [6530].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 06:53:30 +00:00
Gary Wilson Jr
40f1c923e2
Fixed #5658 -- Added a note to the top of the "for template authors" template documentation that states the scope of the document, along with a link to the "for Python programmers" documentation. Removed the link to the "for Python programmers" documentation at the bottom since it would be redundant.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 05:07:47 +00:00
Gary Wilson Jr
5c8b26df15
Fixed #5666 -- Documented the `prefix` keyword argument for newforms.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 04:47:07 +00:00
Gary Wilson Jr
a1723aba3b
Fixed #5747 -- Added missing file extension in flatpage documentation. Thanks, Rob Hudson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 03:20:15 +00:00
Gary Wilson Jr
433cbba512
Fixed #5750 -- Documented `LOCALE_PATHS` setting, with a link to the internationalization documentation. Thanks, jdetaeye and SmileyChris.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 03:18:15 +00:00
Gary Wilson Jr
409ba6038d
Fixed docstring style.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 01:42:21 +00:00
Gary Wilson Jr
088cb3c2f3
Django coding style fixes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 01:26:09 +00:00
Gary Wilson Jr
73f495158c
Fixed #5710 -- Fixed a missing table name quoting in the postgresql backend, thanks davep@atomicdroplet.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-14 05:53:56 +00:00
Gary Wilson Jr
78d557bf02
Fixed #5744 -- Allowed SortedDict contructor to be passed a list of tuples to match the interface of dict, thanks Thomas Güttler.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-14 04:17:02 +00:00
Gary Wilson Jr
a3d015fad0
Added module docstring and corrected order of imports to adhere to PEP 8.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-14 04:10:02 +00:00
Gary Wilson Jr
5f9821a5d0
Removed unneeded use of `len()` in a couple expressions.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-13 18:45:49 +00:00
Gary Wilson Jr
fd292d340e
Removed an unused import and a duplicate import.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-13 18:33:03 +00:00
Gary Wilson Jr
1a07957f7e
Removed trailing whitespace.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-13 16:40:20 +00:00
Gary Wilson Jr
c142094ffb
Added docstring to `copy_helper` function.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-13 16:38:19 +00:00
Gary Wilson Jr
300dcd6cae
Removed unused itertools import and organized imports to adhere to PEP 8.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-13 16:02:54 +00:00
Gary Wilson Jr
928e68192c
Some Django coding style fixes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-13 15:59:54 +00:00
Adrian Holovaty
8ae74eae55
Fixed #5738 -- Fixed bug with defective Unicode strings in a URL
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-13 02:57:57 +00:00
Russell Keith-Magee
b053177555
Fixed #5723 -- Fixed typo in request response docs. Thanks, derelm.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-10 02:20:32 +00:00
Malcolm Tredinnick
381453da91
Documented the strings_only param to smart_unicode() and force_unicode().
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:32 +00:00
Malcolm Tredinnick
7ab381972e
Fixed an RST formatting typo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:27 +00:00
Malcolm Tredinnick
a0102fccfd
Fixed the note about charset encoding in PO files. It must be UTF-8 since [5708].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:22 +00:00
Gary Wilson Jr
d2952d47ce
Refs #5690 -- Changed path joining to use `os.pardir` instead of `'..'`.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-06 02:23:59 +00:00
Gary Wilson Jr
d79f684f9d
Fixed typo in comment.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-06 02:19:15 +00:00
Adrian Holovaty
0397e63a19
Corrected broken link to newforms unit tests in docs/newforms.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-04 22:50:06 +00:00
Malcolm Tredinnick
185848a526
Fixed #5641 -- Handle lazy translations correctly when used as default arguments. Thanks, permon.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-04 01:55:51 +00:00
Malcolm Tredinnick
4d8561a8a8
Fixed a Python 2.3 Unicode + oldforms problem. Refs #5287 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-04 01:54:58 +00:00
Malcolm Tredinnick
3c18331adc
Changed some Widget subclasses to be consistent about how they handle the passed in 'attrs' parameter. We now always copy it (by calling the parent's __init__).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-04 01:20:27 +00:00
Malcolm Tredinnick
b1cc3318c7
Added a __deepcopy__() method to the Widget class in order to avoid a number of easy-to-trigger problems when copying Widget subclasses. Subclasses which are intended to have extra mutable fields should override this method. Refs #5505 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-04 01:12:00 +00:00
Malcolm Tredinnick
4d8b51f60c
Fixed #4986 -- Fixed a logic bug from [6166].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-03 22:21:43 +00:00
Malcolm Tredinnick
2a63414ccd
Fixed #5674 -- Fixed a typo in a docstring from [6446]. Thanks, ski.whitespace@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-03 22:12:22 +00:00