Commit Graph

6617 Commits

Author SHA1 Message Date
Gary Wilson Jr b49e39152b [1.0.X]: Fixed #8643 -- Corrected docstrings of `MultiPartParser`, thanks KayEss.
Backport of r10213 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 21:01:08 +00:00
Gary Wilson Jr 487a7fdcce [1.0.X]: Fixed #10094 -- Fixed the `include` and `extends` template tags to work with filenames with spaces, patch from mcroydon.
Backport of r10211 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 20:33:42 +00:00
Gary Wilson Jr daae84a8e0 [1.0.X]: Fixed #10079 -- Moved settings import inside the function that uses it so that the module can be imported without needing settings, thanks kcarnold and mcroydon.
Backport of r10209 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 20:16:43 +00:00
Gary Wilson Jr ef28364365 [1.0.X]: Fixed a few class references in the model field docs.
Backport of r10207 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:55:29 +00:00
Gary Wilson Jr 10a3e41c8a [1.0.X]: Fixed #10076 -- Documented invalid arguments for `FileField`, based on patch from timo.
Backport of r10204 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:35:36 +00:00
Gary Wilson Jr 387bd8f386 [1.0.X]: Fixed #9944 -- Fixed a URL in tutorial four that was changed in the "Decoupling the URLconfs" section at the end of tutorial three, patch from programmerq.
Backport of r10202 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:01:30 +00:00
Gary Wilson Jr 46e37d20d4 [1.0.X]: Fixed #9914 -- Fixed field class name in models docs, patch from timo.
Backport of r10200 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 18:44:35 +00:00
Gary Wilson Jr 46292cdc71 [1.0.X]: Fixed #9853 -- Added information to the model date/time fields to note the Python objects used to represent them.
Backport of r10198 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 18:32:49 +00:00
Gary Wilson Jr 412e1d59c9 [1.0.X]: Fixed some long lines and removed trailing whitespace.
Backport of r10195 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 17:10:24 +00:00
Gary Wilson Jr 54d6fe97e9 [1.0.X]: Fixed #8462 -- Made `length` and `length_is` template filters fail silently when given a value that has undefined length and added tests for both filters. Based on patch from marcelor, rob, and SmileyChris.
Backport of r10193 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 16:48:24 +00:00
Gary Wilson Jr 4a5a21d10c [1.0.X]: Made the template tests error output a bit more pretty.
Backport of r10191 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 16:08:57 +00:00
Justin Bronn 8f996105ec [1.0.X] Fixed #10653 -- Update docs regarding Jython support. Thanks, Leo Soto for ticket & patch.
Backport of r10188 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 03:36:35 +00:00
Gary Wilson Jr ae5f451741 [1.0.X]: Removed an inadvertent raise statement added in [8777] and added the printing of tracebacks for template tests that raise an unhandled exception.
Backport of r10183 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-29 23:40:04 +00:00
Nicola Larosa 5e0a45d739 [1.0.X] Updated Italian translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-29 21:25:50 +00:00
Ian Kelly cdbc225e0b [1.0.X] Fixed an issue with unicode being mangled in Oracle when the database character set is non-unicode. Backport of r10175 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-27 19:52:47 +00:00
Russell Keith-Magee 2e05920401 [1.0.X] Fixed a breakage with ManyToManyFields in admin caused by r10140. Refs #9994.
Merge of r10170 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-25 11:00:20 +00:00
Malcolm Tredinnick dce8fdbc68 [1.0.X] Made a couple of cross-references in the model fields documentaiton consistent.
Backport of r10007 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 23:02:36 +00:00
Karen Tracey fff55111b6 [1.0.X] Updated svnmerge metadata to indicate 10078 was backported to the branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 18:32:26 +00:00
Karen Tracey c0379b9a2c [1.0.X] Added some more blocked revsions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 18:28:34 +00:00
Karen Tracey 69e228e862 [1.0.X] Fixed svnmerge-blocked: block r10128-10135, not 10028-10135.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 18:11:21 +00:00
Russell Keith-Magee c04a28df4c [1.0.X] Updated svnmerge properties for some recent trunk changesets
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:34:41 +00:00
Russell Keith-Magee 1c670a7053 [1.0.X] Fixed #10329 -- Added link target for get_FOO_display, get_next_by_FOO, and get_previous_by_FOO. Thanks to rctay for the report, and timo for the patch.
Merge of r10152 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:12:32 +00:00
Russell Keith-Magee 17401448b2 [1.0.X] Fixed #10503 -- Clarified docs on the operation of the noop option to {% trans %}. Thanks to liangent for the report.
Merge of r10151 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:09:56 +00:00
Russell Keith-Magee 2363f60879 [1.0.X] Fixed #10434 -- Corrected FastCGI example. Thanks to vithlani.
Merge of r10150 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:07:43 +00:00
Russell Keith-Magee ade3dcb494 [1.0.X] Fixed #10437 -- Corrected typo in Widget media example. Thanks to Manuel Saelices.
Merge of r10149 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:04:43 +00:00
Russell Keith-Magee c2e4e54eb6 [1.0.X] Fixed #10570 -- Grammar fix for Manager docs. Thanks to adamv.
Merge of r10147 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:01:23 +00:00
Russell Keith-Magee fae6702ea1 [1.0.X] Fixed #10591 -- Corrected link to Jython in docs. Thanks to framos.
Merge of r10146 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:57:36 +00:00
Russell Keith-Magee 177e997400 [1.0.X] Fixed #10592 -- Corrected typo in initial-data howto. Thanks to Paul Menzel.
Merge of r10145 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:53:30 +00:00
Russell Keith-Magee d9eb87adae [1.0.X] Fixed #10589 -- Removed duplicated model definition in null_fk_ordering regression test. Thanks to Julien Phalip for the report.
Merge of r10143 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:50:08 +00:00
Malcolm Tredinnick 50379f4c91 [1.0.X] Fixed #9994 -- Fixed admin filtering when to_field is used on relations.
Thanks to jzylks for diagnosing this one.

Backport of r10139 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 07:14:19 +00:00
Malcolm Tredinnick 2fba099779 [1.0.X] Fixed #9926 -- Fixes for some select_related() situations.
Using select_related(...) across a nullable relation to a multi-table
model inheritance situation no longer excludes results. Thanks to AdamG
for a test demonstrating part of the problem.

Backport of r10136 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 05:54:35 +00:00
Ian Kelly 2b098e64e0 [1.0.X] Added an import that should have been included in [10126].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 22:14:00 +00:00
Ian Kelly 7499416d0d [1.0.X] Fixed a false failure in the test suite when running Oracle. Backport of [10125] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 22:11:07 +00:00
Malcolm Tredinnick ebfe7faaa3 [1.0.X] Fixed #2698 -- Fixed deleting in the presence of custom managers.
A custom manager on a related object that filtered away objects would prevent
those objects being deleted via the relation. This is now fixed.

Backport of r10104 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-20 22:14:31 +00:00
Russell Keith-Magee 083a7206e4 [1.0.X] Corrected svnmerge-integrated property from r10086, updated to include some recent changes.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-18 12:38:39 +00:00
Russell Keith-Magee f781205859 [1.0.X] Corrected a problem with the database cache backend, and refactored the cache test suite to ensure that all the backends are actually tested.
Partial merge of r10031 and r10071 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-18 12:28:53 +00:00
Russell Keith-Magee 0abd798b9b [1.0.X] Fixed #10102 -- Set svn:executable on daily_cleanup script. Thanks to John Scott for the report
Merge of r10054 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-18 12:02:25 +00:00
Malcolm Tredinnick 39c450cc6d Fixed #10526 -- More fixes when specifying installed apps using "foo.*".
This adds a case that was missed in r9925: underscore handling.

Backport of r10078 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-18 01:08:34 +00:00
Jacob Kaplan-Moss 75b286798f [1.0.X] `ModelAdmin` validation now runs when using the `site.register(Model, **kwargs)` form.
Backport if [10074] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-17 20:51:06 +00:00
Jacob Kaplan-Moss 6b85095169 [1.0.X] Fixed `BaseFormSet.is_multipart()` so that it doesn't bomb when called on an empty formset.
Backport of [10073] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-17 20:47:47 +00:00
Malcolm Tredinnick 4d6763128f [1.0.X] Documented patterns for adding extra managers to model subclasses.
This seems to have been a source of confusion, so now we have some explicit
examples. Fixed #9676.

Backport of r10058 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 03:46:26 +00:00
Malcolm Tredinnick 8a0a17628b [1.0.X] Clarified and expanded documentation for Manager.use_for_related_fields.
This is for Manager subclasses that are default managers, but only
sometimes.  The general rule is: "don't use it." If you really need it,
read the instructions.

Backport of r10057 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 03:45:56 +00:00
Malcolm Tredinnick 97321c7645 [1.0.X] Use plain model.Manager, or suitable proxy, for model saving.
We can't use the default manager in Model.save_base(), since we need to
retrieve existing objects which might be filtered out by that manager. We now
always use a plain Manager instance at that point (or something that can
replace it, such as a GeoManager), making all existing rows in the
database visible to the saving code.

The logic for detecting a "suitable replacement" plain base is the same as for
related fields: if the use_for_related_fields is set on the manager subclass,
we can use it. The general requirement here is that we want a base class that
returns the appropriate QuerySet subclass, but does not restrict the rows
returned.

Fixed #8990, #9527.

Refs #2698 (which is not fixed by this change, but it's the first part of a
larger change to fix that bug.)

Backport of r10056 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 03:45:32 +00:00
Ian Kelly 0eac35ce11 [1.0.X] Fixed #10488: fixed DB cache backend test failures in Oracle. Backport of [10051] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-13 21:07:41 +00:00
Ian Kelly 0ced9f68f3 [1.0.X] Fixed #10238: coerce TextField values to unicode in the oracle backend. Backport of [10049] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-13 19:58:56 +00:00
Malcolm Tredinnick 6922925abc [1.0.X] Fixed a problem from r10038. Fixed #10470.
Backport of r10040 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-12 08:00:46 +00:00
Malcolm Tredinnick a02247ff73 [1.0.X] Fixed #10472 -- Fixed a race condition in reverse URL resolving.
This only shows up in for reverse() (not forwards resolving), since that
path uses a globally shared resolver object. Based on a patch from
Travis Terry.

Backport of r10037 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-12 07:37:37 +00:00
Malcolm Tredinnick fdde600f42 [1.0.X] Fixed #10470 -- Fixed a race condition in middleware initialization.
Thanks to Travis Terry and mrts.

Backport of r10036 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-12 07:37:08 +00:00
Ian Kelly 75cc96bc6f [1.0.X] Backport of [10024] from trunk. Refs #10443: Added Oracle to the #10443 regression test exemption, since we don't yet support it.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-10 22:50:37 +00:00
Ian Kelly 9a5942cd60 [1.0.X] Backport of 10022 from trunk. Added savepoint support to the Oracle backend, necessary per the thread at http://groups.google.com/group/django-developers/browse_thread/thread/c87cf2d97478c068/
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-10 18:38:45 +00:00