trunk
This is a Bazaar branch. To clone, pull or merge from it, use this URL.
For more help, check out the 5-minute Quick Hacking with Bzr or the full Introduction to Bzr.
Log
-
4999 : 2008-07-03 : ikelly : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7833
-
Fixed #7407 -- in Oracle, made sure table names are properly quoted when resetting sequences. Thanks, erny.
-
4998 : 2008-07-03 : ikelly : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7832
-
Fixed a test case using extra sql that didnt fit Oracle syntax.
-
4997 : 2008-07-03 : ikelly : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7831
-
Refs #7565. Fixed Oracle sequence resetting on child models.
-
4996 : 2008-07-03 : gwilson : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7829
-
Corrected typo in `uploadedfile` module.
-
4995 : 2008-07-02 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7828
-
Closes #7607, Turkish translation update, thanks Evren Esat Özkan
-
4994 : 2008-07-02 : jacob : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7827
-
Fixed a few typos in upload handling docs
-
4993 : 2008-07-02 : ikelly : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7826
-
Renamed a field in a test case that was preventing the tests from
running in Oracle.
-
4992 : 2008-07-02 : gwilson : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7823
-
Fixed a long and complex line by breaking into a for loop, with the added benefit that the method will now exit as soon as a matching
permission is found instead of checking all of the user's permissions and putting them into a temporary list.
-
4991 : 2008-07-02 : gwilson : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7822
-
Added docstring and other minor style fixes.
-
4990 : 2008-07-02 : gwilson : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7821
-
Got rid of a bit of repetition by using `dict.update()`.
-
4989 : 2008-07-02 : gwilson : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7820
-
Minor style fixes.
-
4988 : 2008-07-02 : gwilson : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7819
-
Made legacy `ObjectPaginator` truly backwards-compatible by catching both `AttributeError` and `TypeError` in `_get_count` as it did before
[7306]. Tests included.
-
4987 : 2008-07-01 : jacob : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7818
-
Oops, missed a changed file in [7817].
-
4986 : 2008-07-01 : jacob : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7817
-
Fixed #7590: made UploadedFile subclasses' __init__ methods sane.
-
4985 : 2008-07-01 : ubernostrum : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7816
-
Fix a small typo in docs/upload_handling.txt
-
4984 : 2008-07-01 : jacob : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7814
-
Fixed #2070: refactored Django's file upload capabilities.
A description of the new features can be found in the new [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]; the executive summary is that Django will now happily handle uploads of large files without issues.
This changes the representation of uploaded files from dictionaries to bona fide objects; see BackwardsIncompatibleChanges for details.
-
4983 : 2008-07-01 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7813
-
Fixed #7185 -- Added a "ping_google" management command to
django.contrib.sitemaps. Thanks, Pete Shinners.
-
4982 : 2008-07-01 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7812
-
Modified [7760] to not include a "col is not NULL" fragment for non-nullable fields.
This avoids any use of "pk is not NULL" fragment, which behave inconsistently
in MySQL. Thanks to Russell Keith-Magee for diagnosing the problem and
suggesting the easy fix.
Refs #7076.
-
4981 : 2008-07-01 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7811
-
Changed a documentation example that wasn't wrong to stop complaints.
Fixed #7544.
-
4980 : 2008-06-30 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7808
-
Refs #7521 -- Re-reverted [7716] (originally reverted in [7726]), now modified to use the new TestCase urlpattern framework.
-
4979 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7807
-
Fixed #4081 -- Allow empty content in flatpages.
Patch from ctrochalakis and Matt Croydon.
-
4978 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7806
-
Fixed #6089 -- Removed default ordering on the User class.
Admin users are still ordered, since we add it in specially for Admin. Slightly
backwards incompatible.
Patch from Erik Karulf.
-
4977 : 2008-06-30 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7805
-
Fixed #7521 -- Added the ability to customize ROOT_URLCONF for the duration of a TestCase. Thanks to Mark Fargas (telenieko) for his work on this patch.
-
4976 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7804
-
Fixed #6612 -- Updated Apache auth recipe for Apache 2.2. Thanks, trbs.
-
4975 : 2008-06-30 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7803
-
Fixed #7572 -- Force the closure of the database connection at the end of fixture loading as a workaround for MySQL bug #37735. Thanks to Simon Litchfield for his help in narrowing down this issue.
-
4974 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7802
-
Fixed #6928 -- Added a little more robustness to transaction rollbacks for Python 2.5. Patch from guettli.
-
4973 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7801
-
Fixed #6647 -- Add some more robustness to the development web server.
-
4972 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7800
-
Fixed #6994 -- For fastcgi, set a more sensible default umask.
Also allow the umask value to be customised. Thanks, Antonis Christofides.
-
4971 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7799
-
Fixed #5957 -- Enforce the "required" attribute on BooleanField in newforms.
This has been the documented behaviour for ages, but it wasn't correctly
implemented. A required BooleanField must be True/checked, since False values
aren't submitted. Ideal for things like "terms of service" agreements.
Backwards incompatible (since required=True is the default for all fields).
Unclear who the original patch was from, but Tai Lee and Alex have kept it up
to date recently.
-
4970 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7798
-
Fixed #2170 -- "exact" lookups in MySQL are now case-sensitive (the same as other backends).
This is a backwards incompatible change if you were relying on 'exact' being
case-insensitive. For that, you should be using 'iexact'.
-
4969 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7797
-
Fixed #4485 -- Allow nullable DecimalFields to store NULLs.
Based on a patch from tdterry. Thanks.
-
4968 : 2008-06-30 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7796
-
Closes #7562, Updated Macedonian (mk) translation. Thanks Georgi Stanojevski.
-
4967 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7795
-
Fixed #7156 -- Normalise file paths before returning them in models.
This avoids problems with a database that was created on Unix being used on
Windows and giving interesting results. Patch from fcaprioli@alice.it.
-
4966 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7794
-
Fixed #7033 -- Removed an unused field.
OrderingField was added in the magic-removal branch to support something that
never ultimately materialised, but it wasn't removed. So this is
backwards-incompatible if you're using this field that has no purpose, I guess.
-
4965 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7793
-
Fixed #7046 -- set the response status code correctly in ConditionalGetMiddleware.
-
4964 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7792
-
Fixed #7543 -- Typo fix. Thanks, James Turnbull.
-
4963 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7791
-
Fixed #7314 -- Changed the way extra() bits are handled when QuerySets are merged.
Also added a section to the documentation to indicate why it's probably not a
good idea to rely on this feature for complex stuff. Garbage in, garbage out
applies even to Django code.
Thanks to erik for the test case for this one.
-
4962 : 2008-06-30 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7790
-
Make sure we only create the minimum number of table indexes for MySQL.
This patch simplifies a bunch of code for all backends and removes some
duplicate index creation for MySQL, in particular (versions 4.x and later).
Patch from Nis Jørgensen.
Fixed #5671, #5680, #7170, #7186.
-
4961 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7789
-
Fixed #7565 -- Fixed a problem with PostgreSQL sequence resetting in loaddata.
-
4960 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7788
-
A way better fix for the count() issue in [7787].
The first attempt was brain-damaged. Let's never speak of it again.
-
4959 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7787
-
Fixed #7323 -- Fixed a count() edge-case.
-
4958 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7786
-
Fixed #7371 -- Fixed an edge case when ordering on related models.
-
4957 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7785
-
Fixed #7378 -- Use the "to_field" where appropriate on reverse relations.
Patch from mturtle@gmail.com. The remaining uses of "%s__pk" in
fields/related.py all look safe, since they are for many-to-many fields, which
doesn't take "to_field" as a parameter.
-
4956 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7784
-
Fixed #7276 -- Delete multi-table objects correctly.
When model inheritance is used, the parent objects should be deleted as part of
the delete() call on the child.
-
4955 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7783
-
Removed a stray debugging print that slipped in.
-
4954 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7782
-
Factored out a semi-complex if-test that was used in two places.
-
4953 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7781
-
Fixed #7246 -- Pull in the all the necessary data when using select_related() with multi-table inheritance.
-
4952 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7780
-
Use create() to create objects in the query regression tests, like all the Cool
Kids are doing these days.
-
4951 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7779
-
Added a test to show that #7227 was also fixed by [7778].
-
4950 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7778
-
Fixed handling of multiple fields in a model pointing to the same related model.
Thanks to ElliotM, mk and oyvind for some excellent test cases for this. Fixed #7110, #7125.
-
4949 : 2008-06-29 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7777
-
Moved the settings of db_table to Options.contribute_to_class().
Some fields need to know the right db_table setting in their own
contribute_to_class(), so waiting until Options._prepare() is a little
inconvenient. This is a deep-internals change. No effect on external code.
-
4948 : 2008-06-28 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7776
-
Fixed the fix from [7775].
The previous change was failing Django's "check for well-formed domain name"
validation, rather than failing on the network side. Providing we don't ever
set up www.broken.djangoproject.com as a valid domain name, this change should
let us control our own destiny.
-
4947 : 2008-06-27 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7775
-
Fixed #7559 -- Updated newforms unit tests to reflect the fact that http://www.jfoiwjfoi23jfoijoaijfoiwjofiwjefewl.com is no longer a valid domain name
-
4946 : 2008-06-27 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7774
-
Removed a dead line that was left in [7773] by accident.
-
4945 : 2008-06-27 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7773
-
Reorganised the internals of the Where node a bit to fix some copying problems.
We no longer store any reference to Django field instances or models in the
Where node. This should improve cloning speed, fix some pickling difficulties,
reduce memory usage and remove some infinite loop possibilities in odd cases.
Slightly backwards incompatible if you're writing custom filters. See the
BackwardsIncompatibleChanges wiki page for details.
Fixed #7128, #7204, #7506.
-
4944 : 2008-06-26 : ikelly : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7772
-
Fixed a "column" instance that wis massed in [7743].
-
4943 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7766
-
Fixed #7312 -- Fixed handling of custom Q-like objects in QuerySet.custom_filter().
This is pretty much internal-use-only code, so doesn't affect public API at
all, but it's nice to be able to handle things properly in any case. Patch from
emulbreh.
-
4942 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7765
-
EmptyQuerySet classes can now be merged with normal querysets.
-
4941 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7764
-
Fixed the way symmetrical many-to-many relations are recorded in the Options class.
These types of relations don't have reverse accessor names, so that name can be
used by a normal field on the model. Fixed #7107.
-
4940 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7763
-
Fixed #7105 -- Fixed dates() queries in light of model inheritance.
-
4939 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7762
-
Fixed #7215 -- Create correct reverse-relation accessors when using abstract base classes. Patch from Joel Watts.
-
4938 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7761
-
Fixed #7181 -- when ordering by a potentially NULL field, use a left-outer join
so that the ordering doesn't accidentally restrict the result set.
(Ironically, one existing test actually showed this problem, but I was too
dumb to notice the result was incorrect.)
-
4937 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7760
-
Fixed #7076 -- Include NULL values when excluding non-NULL items.
Based on a patch from emulbreh.
-
4936 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7758
-
Fixed #7417 -- Fixed ReST error in do_if() docstring. Thanks, Richard Bell <rbell01824@earthlink.net>
-
4935 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7757
-
Fixed #7482 -- Fixed an awkward wording in docs/model-api.txt. Thanks, cbmeeks <cbmeeks@gmail.com>
-
4934 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7756
-
Optimized {% cycle %} template tag so that it creates the Variable objects in CycleNode.__init__() rather than each time render() is called
-
4933 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7755
-
Fixed #7542 -- Fixed bug in urlize where it was appending 'http://' to the link text. Thanks for the patch and tests, devin
-
4932 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7754
-
Fixed #6201 -- Improved the {% cache %} template tag to allow the timeout to be a template variable. Inspired by the patch by zz and edrik
-
4931 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7753
-
Fixed infuriating lack of apostrophe in a comment
-
4930 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7752
-
Fixed #6322 -- Fixed bug in 'ifchanged' template tag where it wasn't resetting itself properly in some cases. Thanks, nedbatchelder
-
4929 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7751
-
Improved our tests so that they don't raise an error if setuptools isn't installed, hence ridding the test suite of all dependencies. Also updated docs.
-
4928 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7750
-
Negligible formatting changes to tests/regressiontests/templates/loaders.py
-
4927 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7749
-
Fixed #6306 -- redirect_to_login() helper function now quotes the URL arguments correctly. Thanks, SmileyChris
-
4926 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7748
-
Fixed #7274 -- Improved the django.contrib.auth password_reset() view not to require the Sites framework. Thanks, joshrl
-
4925 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7747
-
Fixed #7319 -- Removed unused DatabaseFeatures attribute 'needs_upper_for_iops'. Thanks, leosoto
-
4924 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7746
-
Fixed #7527 -- Removed an unused value from __all__ in django.core.servers.basehttp. It had languished there erroneously since the original checkin in Django changeset [174]. Thanks, trevor
-
4923 : 2008-06-26 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7745
-
Various documentation edits
-
4922 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7744
-
A forgotten file from [7743] (test the new DictWrapper class).
-
4921 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7743
-
Fixed #7109 -- Quote certain values before passing them for substitution in
Field.db_type().
This fixes a problem with using reserved words for field names in Oracle. Only
affects Oracle at the moment, but the same changes could easily be used by
other backends if they are required (requires changing creation.py, only).
This commit also reverts [7501] so that if the fix doesn't work, it will show
up in the tests (and if it does work, the tests will prevent us from breaking
it again).
-
4920 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7742
-
Removed the bulk of the sanity checking when merging QuerySets.
It was causing too many inconvenient and unintended problems when merging
legitimate subclasses (e.g. with geo-django classes). There's still a hook
there that we use when merging ValueQuerySets, but if you try to merge two
disparate QuerySets and it breaks all that happens is you get to keep both
pieces. We're no longer penalising the useful usages just for the people who
aren't concentrating.
Fixed #7113.
-
4919 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7741
-
Fixed a problem when constructing complex select_related() calls.
Avoids joining with the wrong tables when connecting select_related() tables to
the main query. This also leads to slightly more efficient (meaning less tables
are joined) SQL queries in some other cases, too. Some unnecessary tables are
now trimmed that were not previously.
-
4918 : 2008-06-26 : mtredinnick : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7740
-
Fixed a problem with values() and values_list() queries and nullable joins.
Previously, if we were querying across a nullable join and then a non-nullable
one, the second join would not be a LEFT OUTER join, which would exclude
certain valid results from the result set.
This is the same problem as [7597] but for values() field specifications, so
this covers the second case where Django adds extra stuff to the select-clause.
-
4917 : 2008-06-25 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7739
-
Fixed #7155 -- Corrected DateQuerySet to handle nullable fields. Thanks to fcaprioli@alice.it for the original report and patch, and to Jeremy Dunck for the test case.
-
4916 : 2008-06-25 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7738
-
Fixed #7531 -- Modified the sites test so that user-provided initial data doesn't cause breakage when executed from within user applications. Thanks for the report, madkinder@gmail.com.
-
4915 : 2008-06-24 : zgoda : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7732
-
Missing compiled messages file from my previous commit
-
4914 : 2008-06-24 : zgoda : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7731
-
Updated Polish translations (couple of locality names and some wording cleanups)
-
4913 : 2008-06-23 : jezdez : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7729
-
Fixed #7477 -- Updated German locale.
-
4912 : 2008-06-23 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7728
-
Fixed #6891 -- Clarified modelform usage documentation. Thanks to Eric Holscher for the suggestion.
-
4911 : 2008-06-23 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7727
-
Fixed #7525 -- Added createsuperuser to the bash completion script. Thanks to John Scott for the fix.
-
4910 : 2008-06-23 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7726
-
Fixed #7521 -- Reverted [7716]. Fixed URLs in test case broke any application that deployed contrib.auth.
-
4909 : 2008-06-23 : gwilson : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7725
-
Several Django styling fixes in the `contrib.sessions` app.
-
4908 : 2008-06-22 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7724
-
Fixed #7517 -- Added code to remove Sites from the site cache when they are deleted. Thanks to Marc Fargas for the patch.
-
4907 : 2008-06-22 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7723
-
Fixed #7514 -- Added code to clear the site cache on sync. This shouldn't have any effect on regular usage, but it does correct an error in the test suite. Thanks to Marc Fargas for the fix.
-
4906 : 2008-06-21 : lukeplant : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7722
-
Fixed bug with Model.delete() which did not always delete objects in the right order.
-
4905 : 2008-06-21 : lukeplant : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7721
-
Added tests for corner case with deleting where objects are deleted in the wrong order.
These tests currently fail, by design, fix will be committed shortly.
-
4904 : 2008-06-21 : lukeplant : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7720
-
Removed some unnecessary work in Model._collect_sub_objects()
-
4903 : 2008-06-21 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7719
-
Removed some cruft from the [7718] checkin.
-
4902 : 2008-06-21 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7718
-
Fixed #7513 -- Added a note on the dependencies that need to be installed when running the Django system tests. Thanks to Peter Melvyn for the original report, and Ramiro Morales for the original draft.
-
4901 : 2008-06-21 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7717
-
Fixed a minor typo in some sample SQL. Thanks for the report, Glen Jarvis <glenjarvis.com@gmail.com>.
-
4900 : 2008-06-20 : lukeplant : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7716
-
Added basic tests for auth.views.password_reset
-
4899 : 2008-06-20 : lukeplant : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7715
-
Added docs about urls.py and testing views for contrib apps
-
4898 : 2008-06-20 : lukeplant : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7714
-
Updated information about unit tests, contrib apps in particular.
-
4897 : 2008-06-20 : lukeplant : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7713
-
Fixed #3774 - primary_key=True does not, in fact, imply blank=False
-
4896 : 2008-06-20 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7712
-
Catalan translation updates.
This includes: Lowercasing language and month names,
and two new language names.
-
4895 : 2008-06-19 : jacob : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7710
-
Fixed #7475: fixed a possible race condition in ModelChoiceIterator. Thanks, esaj.
-
4894 : 2008-06-19 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7706
-
Fixed #6650 -- Added UTF-8 encoding to SQL output provided by management commands. Thanks to farcaller for the suggestion.
-
4893 : 2008-06-19 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7705
-
Fixed #6812 -- Modified the formtools test case to be run order safe with respect to the ROOT_URLCONF setting. Thanks for the patch, james
-
4892 : 2008-06-19 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7704
-
Fixed #6719 -- Added a --traceback option to syncdb to provide a stack trace when custom SQL loading fails. Also added documentation for the --traceback option. Thanks to guettli for the patch.
-
4891 : 2008-06-19 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7702
-
Fixed #7059 -- Added a note to the settings documentation reminding users that when DEBUG=True, Django keeps a log of queries. Thanks for the suggestion, simonb.
-
4890 : 2008-06-19 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7701
-
Fixed #7355 -- Modified urlize utility to handle https:// addresses. Thanks for the report and patch, clint.
-
4889 : 2008-06-19 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7700
-
Closes #7461, Month/Week names lowercased. Thanks Arien.
-
4888 : 2008-06-18 : jacob : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7698
-
Fixed #7458: added Lithuanian to LANGUAGES.
-
4887 : 2008-06-18 : jacob : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7697
-
Added Estonian to global_settings.LANGUAGES. Refs #7141.
-
4886 : 2008-06-18 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7696
-
Refs #7461, lowercased language names in Spanish translation. Thanks Arien.
-
4885 : 2008-06-18 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7695
-
Refs #7458, New Lithuanian translation. Thanks Rapolas Kaselis.
-
4884 : 2008-06-18 : jacob : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7693
-
Fixed #4860: added 'for' attributes to labels in newforms widgets. Thanks to Ivan Sagalaev and batiste@dosimple.ch for the patches.
-
4883 : 2008-06-18 : jacob : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7692
-
Fixed #3393: login view no longer assumes that set_test_cookie has been called. This is mildly backwards-incompatible, but in the "now it works the way it should have all along" sense. Thanks to James and lcordier for the patches.
-
4882 : 2008-06-18 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7691
-
Refs #7268 -- Added svn:executable flag for the Bash completion script.
-
4881 : 2008-06-18 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7690
-
Refs #7268 -- Added django-admin as an alias in the django-bash-completion script. Thanks, Raphael Hertzog <hertzog@debian.org>
-
4880 : 2008-06-18 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7689
-
Fixed #7554 -- Modified contrib.localflavor to make use of ugettext, rather than ugettext. Thanks to msaelices for the report and patch.
-
4879 : 2008-06-18 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7688
-
Fixed #7318 -- Cleaned up the template inheritance logic, specifically to handle the case where the parent template has no template tags/blocks. Took the opportunity to optimize the logic a little. Thanks to Matthias Kestenholz <mk@spinlock.ch> for the original report and test case.
-
4878 : 2008-06-18 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7687
-
Fixed #7429 -- Modified the Session base class a little more dictionary-like by adding update(), has_key(), values(), and iterator access methods. Thanks to Jeremy Dunck for the suggestion and patch.
-
4877 : 2008-06-18 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7686
-
Missing compile-messages.py -l hr
-
4876 : 2008-06-17 : aljosa : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7682
-
updated croatian translation
-
4875 : 2008-06-17 : gwilson : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7681
-
Refs #7216 -- Corrected typo, removed comma, trimmed trailing whitespace, and fixed reST link in [7678].
-
4874 : 2008-06-17 : jacob : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7680
-
Updated LICENSE. Announcement forthcomming...
-
4873 : 2008-06-17 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7679
-
Fixed #7044 -- Corrected a minor typo in a docstring in the model loader. Thanks, msaelices.
-
4872 : 2008-06-17 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7678
-
Fixed #7216 -- Added a description on how to use named URLs with a permalink. Thanks, masklinn.
-
4871 : 2008-06-17 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7677
-
Fixed #7200 -- Added newforms documentation for the FloatField. Thanks, George Vilches.
-
4870 : 2008-06-17 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7676
-
Fixed #7174 -- Corrected the default setting for TEMPLATE_LOADERS described in the settings docs. Thanks, pbx.
-
4869 : 2008-06-17 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7675
-
Fixed #7292 -- Removed reference to form_for_model in the form_preview docs. Thanks to programmerq for the report.
-
4868 : 2008-06-17 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7674
-
Fixed #7470 -- Corrected typo in template docs. Thanks to cbmeeks@gmail.com for the report.
-
4867 : 2008-06-17 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7673
-
Closes #7413, Updated Hebrew translation (Thanks Meir Kriheli)
-
4866 : 2008-06-17 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7672
-
Refs #7141, Estonian updates (Thanks Erik Allik)
-
4865 : 2008-06-16 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7668
-
Refs #7141, New Estonian translation. (Thanks Erik Allik & mrts)
-
4864 : 2008-06-16 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7667
-
Closes #7455, compiled .mo file for Croatian translation.
-
4863 : 2008-06-16 : russellm : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7662
-
Fixed #7347 -- Corrected docstring in IT localflavor.
-
4862 : 2008-06-16 : telenieko : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7661
-
Refs #7461, Typos in 'es' locale. Thanks arien
-
4861 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7660
-
Fixed #6831 -- Reverse URL resolver now replaces backslashes correctly. Thanks, Bastian Kleineidam
-
4860 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7659
-
Fixed #7228 -- Fixed our ETag header creation to meet the HTTP spec, by quoting it. Thanks, skjohn@us.ibm.com
-
4859 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7658
-
Added shebang line to bin/profiling/gather_profile_stats.py. Refs #7268
-
4858 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7657
-
Fixed #7354 -- Fixed a Python 2.3 compatibility issue in formtools/wizard.py. Thanks, mage
-
4857 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7656
-
Fixed #6944 -- Fixed a small typo in docs/model-api.txt. Thanks, julien
-
4856 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7655
-
Fixed #6830 -- Changed the docs/tutorial01.txt reference to the IRC channel to lower the expectation slightly on how much help you'll receive
-
4855 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7654
-
Fixed #6777 -- Made some text in docs/sessions.txt into internal links. Thanks, ramiro
-
4854 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7653
-
Fixed #6497 -- Improved fixture error reporting by displaying the entire traceback. Also, SystemExit and KeyboardInterrupt now exit the script properly. Thanks for the patch, Bastian Kleineidam
-
4853 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7652
-
Fixed #6654 -- Slightly refactored the way 'startproject' and 'startapp' check for existing Python modules. Thanks, i_i
-
4852 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7651
-
Fixed #7329 -- Added list_display Admin options to FlatPage and Redirect models. Also changed list_filter for FlatPage. Thanks for the patch, benspaulding
-
4851 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7650
-
Fixed #7127 -- Fixed incorrect docstring for page_not_found() view. Thanks, kcarnold and Simon Greenhill
-
4850 : 2008-06-16 : adrian : svn-v3-trunk1:bcc190cf-cafb-0310-a4f2-bffc1f526a37:django%2Ftrunk:7649
-
Fixed #6993 -- Fixed a grammar error in docs/templates.txt. Thanks, Ionut Ciocirlan