Malcolm Tredinnick
20193b4d6d
Added author credit for [5686]. Refs #4469 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 14:14:47 +00:00
Malcolm Tredinnick
40bb32b5a4
Fixed #4469 -- Added slightly more informative error messages to max- and
...
min-length newform validation. Based on a patch from A. Murat Eren.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 14:13:35 +00:00
Malcolm Tredinnick
3eb1071b3d
Fixed #4865 -- Replaced a stray generator comprehension with a list
...
comprehension so that we don't break Python 2.3.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 13:15:35 +00:00
Malcolm Tredinnick
e4bcfc272c
Fixed #4861 -- Removed some duplicated logic from the newforms RegexField by
...
making it a subclass of CharField. Thanks, Collin Grady.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 12:03:20 +00:00
Malcolm Tredinnick
0145e71ceb
Fixed #4846 -- Fixed some Python 2.3 encoding problems in the admin interface.
...
Based on a patch from daybreaker12@gmail.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 11:05:01 +00:00
Malcolm Tredinnick
e27a7ef360
Fixed #4842 -- Added slightly more robust error reporting. Thanks, Thomas
...
Güttler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 10:56:30 +00:00
Malcolm Tredinnick
53e3f76d6e
Fixed #4839 -- Added __repr__ methods to URL classes that show the pattern they
...
contain. Thanks, Thomas Güttler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 09:14:51 +00:00
Malcolm Tredinnick
92f54aff7a
Fixed #4807 -- Fixed a couple of corner cases in decimal form input validation.
...
Based on a suggestion from Chriss Moffit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 09:09:59 +00:00
Malcolm Tredinnick
54a71805aa
Fixed #2591 -- Fixed a problem with inspectdb with psycopg2 (only). Patch from
...
Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 08:52:07 +00:00
Russell Keith-Magee
6335317a42
Fixed #3505 -- Added handling for the error raised when the user forgets the comma in a single element tuple when defining AUTHENTICATION_BACKENDS. Thanks for the help identifying this problem, Mario Gonzalez <gonzalemario@gmail.com>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 05:03:33 +00:00
Russell Keith-Magee
b8d0dc73c7
Fixed #4526 -- Modified the test Client login method to fail when a user is inactive. Thanks, marcin@elksoft.pl.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 15:26:37 +00:00
Russell Keith-Magee
b9232cd955
Fixed #4538 -- Split the installation instructions to differentiate between installing a distribution package and installing an official release. Thanks to Carl Karsten for the idea, and Paul Bissex for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:41:32 +00:00
Russell Keith-Magee
3990efff69
Fixed #4525 -- Fixed mistaken documentation on arguments to runfcgi. Thanks, Johan Bergstrom <bugs@bergstroem.nu>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:21:51 +00:00
Russell Keith-Magee
0f10867519
Fixed #4522 -- Clarified the allowed filter arguments on the time and date filters. Thanks for the suggestion, admackin@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:11:41 +00:00
Russell Keith-Magee
53a06763c5
Fixed #4502 -- Clarified reference to view in tutorial. Thanks for the suggestion, Carl Karsten <carl@personnelware.com>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:05:16 +00:00
Russell Keith-Magee
4d9e29ea86
Fixed #4775 -- Added some missing Hungarian accents to the urlify.js LATIN_MAP. Thanks, Pistahh <szekeres@iii.hu>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:00:13 +00:00
Russell Keith-Magee
34655a3e78
Fixed #4768 -- Converted timesince and dateformat to use explicit floor division (pre-emptive avoidance of Python 3000 compatibility problem), and removed a redundant millisecond check. Thanks, John Shaffer <jshaffer2112@gmail.com>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:55:19 +00:00
Russell Keith-Magee
1345f3c521
Fixed #4764 -- Added reference to Locale middleware in middleware docs. Thanks, dan@coffeecode.net.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:41:27 +00:00
Russell Keith-Magee
a5de16fbe4
Fixed #4755 -- Modified newforms MultipleChoiceField to use list comprehension, rather than iteration.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:37:59 +00:00
Russell Keith-Magee
7f5797e640
Fixed #4722 -- Clarified discussion about PYTHONPATH in modpython docs. Thanks for the suggestion, Collin Grady <cgrady@the-magi.us>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:32:00 +00:00
Russell Keith-Magee
ab368c9c75
Fixed #4640 -- Fixed import to stringfilter in docs. Proposed solution to move stringfilter into django.template.__init__ introduces a circular import problem.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:23:11 +00:00
Russell Keith-Magee
6cf7a4ac65
Fixed #4627 -- Added details on MacPorts packaging of Django. Thanks, Paul Bissex.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:55:28 +00:00
Russell Keith-Magee
7df9e7da5b
Fixed #4763 -- Minor typo in cache documentations. Thanks, dan@coffeecode.net.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:50:02 +00:00
Russell Keith-Magee
119c6005a6
Fixed #4745 -- Updated docs to point out that 0 is not a valid SITE_ID when running the tests. Thanks for the suggestion, Lars Stavholm <stava@telcotec.se>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:48:27 +00:00
Russell Keith-Magee
f3e71048c3
Fixed #4808 -- Added Chilean regions in localflavor. Thanks, Marijn Vriens <marijn@metronomo.cl>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:44:05 +00:00
Russell Keith-Magee
1655103666
Fixed #4837 -- Updated Debian packaging details. Thanks for the suggestion, Yasushi Masuda <whosaysni@gmail.com>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:33:24 +00:00
Russell Keith-Magee
81d313c9b1
Fixed #3768 -- Disabled NullBooleanField PK serialization test. We can't and don't test null PK values.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 11:27:38 +00:00
Russell Keith-Magee
7a198f5105
Fixed #3770 -- Remove null=True tag from OneToOne serialization test. OneToOne fields can't have a value of null.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 11:24:16 +00:00
Russell Keith-Magee
2d6d20def7
Fixed #4459 -- Added 'raw' argument to save method, to override any pre-save processing, and modified serializers to use a raw-save. This enables serialization of DateFields with auto_now/auto_now_add. Also modified serializers to invoke save() directly on the model baseclass, to avoid any (potentially order-dependent, data modifying) behavior in a custom save() method.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 07:45:35 +00:00
Adrian Holovaty
090aa5210e
Improved syndication feed framework to use RequestSite if the sites framework is not installed -- i.e., the sites framework is no longer required to use the syndication feed framework. This is backwards incompatible if anybody has subclassed Feed and overridden __init__(), because the second parameter is now expected to be an HttpRequest object instead of request.path
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:29:32 +00:00
Adrian Holovaty
dcd5750d7a
Added RequestSite class to sites framework
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:28:04 +00:00
Adrian Holovaty
06fc225ae6
Added helpful error message to SiteManager.get_current() if the user hasn't set SITE_ID
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:23:47 +00:00
Adrian Holovaty
8c4cc32352
Edited changes to docs/tutorial04.txt from [5649]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 04:44:45 +00:00
Adrian Holovaty
0c5d001531
Added 'New in Django development version' note to docs/syndication_feeds.txt changes from [5643]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 04:43:29 +00:00
Jacob Kaplan-Moss
74fe707e04
Fixed #4615 : corrected reverse URL resolution examples in tutorial 4. Thanks for the patch, simeonf.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 00:33:44 +00:00
Malcolm Tredinnick
12621d1949
Fixed #4753 -- Small update to Spanish translation from Mario Gonzalez.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-11 07:12:50 +00:00
Malcolm Tredinnick
047b35cf3b
Fixed #4802 -- Updated French translation. Combined contribution from
...
baptiste.goupil@gmail.com and rocherl@club-internet.fr .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-11 07:00:27 +00:00
Malcolm Tredinnick
8d9982c5a5
Fixed #4815 -- Fixed decoding of request parameters when the input encoding is
...
not UTF-8. Thanks, Jordan Dimov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-11 06:55:12 +00:00
Malcolm Tredinnick
86640f33c1
Fixed #3760 -- Added the ability to manually set feed- and item-level id
...
elements in Atom feeds. This is fully backwards compatible. Based on a patch
from spark343@cs.ubc.ca .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 12:33:55 +00:00
Malcolm Tredinnick
87d8976fae
Fixed #4804 -- Fixed a problem when validating choice lists with non-ASCII
...
data. Thanks, django@vonposer.de .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 12:03:36 +00:00
Malcolm Tredinnick
cc1a4f031c
Fixed #4823 -- Fixed a Python 2.3 incompatibility from [5636] (it was even
...
demonstrated by existing tests, so I really screwed this up).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 12:02:06 +00:00
Gary Wilson Jr
0927ab92b2
Fixed #4812 -- Fixed an octal escape in regular expression that is used in the `isValidEmail` validator, thanks batchman@free.fr.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 03:26:26 +00:00
Gary Wilson Jr
541c9ff797
Fixed #4814 -- Fixed some whitespace issues in tutorial01, thanks John Shaffer.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 02:45:11 +00:00
Gary Wilson Jr
0be6d32c24
Fixed #4817 -- Removed leading forward slashes from some urlconf examples in the documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 02:34:42 +00:00
Malcolm Tredinnick
5a32b3ac2c
Fixed #4798-- Made sure that function keyword arguments are strings (for the
...
keywords themselves) when using Unicode URL patterns.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-08 11:22:53 +00:00
Malcolm Tredinnick
b6812f2d9d
Fixed reverse URL lookup using functions when the original URL pattern was a
...
string. This is now just as fragile as it was prior to [5609], but works in a
few cases that people were relying on, apparently.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-08 00:39:32 +00:00
Malcolm Tredinnick
4c011e6f36
Corrected misleading comment from [5619]. Not sure what I was smoking at the
...
time.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-07 18:39:23 +00:00
Malcolm Tredinnick
8c85ddf306
Fixed #4772 -- Fixed reverse URL creation to work with non-ASCII arguments.
...
Also included a test for non-ASCII strings in URL patterns, although that
already worked correctly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-07 18:24:27 +00:00
Malcolm Tredinnick
fad7247715
Changed HttpRequest.path to be a Unicode object. It has already been
...
URL-decoded by the time we see it anyway, so keeping it as a UTF-8 bytestring
was causing unnecessary problems.
Also added handling for non-ASCII URL fragments in feed creation (the portion
that was outside the control of the Feed class was messed up).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-07 17:15:54 +00:00
Russell Keith-Magee
347704d2df
Added some uncredited authors that worked on the Oracle branch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-07 02:16:23 +00:00