django1/django/contrib
Anssi Kääriäinen 69597e5bcc Fixed #10790 -- Refactored sql.Query.setup_joins()
This is a rather large refactoring. The "lookup traversal" code was
splitted out from the setup_joins. There is now names_to_path() method
which does the lookup traveling, the actual work of setup_joins() is
calling names_to_path() and then adding the joins found into the query.

As a side effect it was possible to remove the "process_extra"
functionality used by genric relations. This never worked for left
joins. Now the extra restriction is appended directly to the join
condition instead of the where clause.

To generate the extra condition we need to have the join field
available in the compiler. This has the side-effect that we need more
ugly code in Query.__getstate__ and __setstate__ as Field objects
aren't pickleable.

The join trimming code got a big change - now we trim all direct joins
and never trim reverse joins. This also fixes the problem in #10790
which was join trimming in null filter cases.
2012-12-16 17:23:26 +02:00
..
admin Fixed #19469 -- Removed opts.get_ordered_objects() and related code 2012-12-16 16:22:09 +02:00
admindocs Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
auth Corrected tests depending on the error message on the AuthenticationForm. 2012-12-16 07:18:45 +08:00
comments Fixed #18856 -- Ensured that redirects can't be poisoned by malicious users. 2012-12-10 22:11:39 +01:00
contenttypes Fixed #10790 -- Refactored sql.Query.setup_joins() 2012-12-16 17:23:26 +02:00
databrowse Replaced some smart_xxx by force_xxx equivalent 2012-08-30 15:46:16 +02:00
flatpages Update django/contrib/flatpages/forms.py 2012-11-15 22:53:08 +01:00
formtools Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
gis Fixed a string detection in ogrinspect.py 2012-12-08 12:19:39 +01:00
humanize Fixed a typo in aff9b2f. 2012-10-28 22:35:25 +01:00
localflavor Minor idiomatic and docstring edits in ar localflavor. 2012-12-04 19:48:39 -03:00
markup Fixed #18054 -- Deprecated contrib.markup. Thanks to simukis for the initial patch. 2012-09-08 12:13:46 -04:00
messages Updated base translation files 2012-10-15 11:17:06 +02:00
redirects Fixed #16678 -- Wrote tests for contrib.redirects app 2012-11-01 19:47:41 +01:00
sessions Fixed #19356 -- Increased session key entropy. 2012-11-29 16:36:43 +01:00
sitemaps Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
sites Updated base translation files 2012-10-15 11:17:06 +02:00
staticfiles Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
syndication Fixed #7936 -- Added Last-Modified header to feeds 2012-09-30 22:40:25 +02:00
webdesign Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
__init__.py Created django.contrib and moved comments into it 2005-07-14 18:20:03 +00:00