django/tests/regressiontests
Anssi Kääriäinen 3dcd435a0e Fixed #19500 -- Solved a regression in join reuse
The ORM didn't reuse joins for direct foreign key traversals when using
chained filters. For example:
    qs.filter(fk__somefield=1).filter(fk__somefield=2))
produced two joins.

As a bonus, reverse onetoone filters can now reuse joins correctly

The regression was caused by the join() method refactor in commit
68847135bc

Thanks for Simon Charette for spotting some issues with the first draft
of the patch.
2012-12-20 21:27:00 +02:00
..
admin_changelist Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to rasca for the suggestion and to mateusgondim for the patch. 2012-11-25 20:39:23 +01:00
admin_custom_urls
admin_filters Fixed the admin_filters tests for Postgres. 2012-12-04 10:36:56 -08:00
admin_inlines
admin_ordering Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
admin_registration
admin_scripts Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
admin_util Fixed #19114 -- Fixed LogEntry unicode representation 2012-11-17 19:19:59 +01:00
admin_validation
admin_views Corrected tests depending on the error message on the AuthenticationForm. 2012-12-16 07:18:45 +08:00
admin_widgets Fixed #19423 -- Prevented ModelAdmin sharing widgets due to formfield_overrides 2012-12-08 12:41:11 +01:00
aggregation_regress Fixed #10790 -- Refactored sql.Query.setup_joins() 2012-12-16 17:23:26 +02:00
app_loading Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
backends Made sure connections are actually closed in backends tests 2012-12-16 23:26:16 +02:00
bash_completion
bug639 Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
bug8245
builtin_server
bulk_create Fixed #19351 -- SQLite bulk_insert of more than 500 single-field objs 2012-11-24 01:13:12 +02:00
cache
comment_tests Fixed #19483 -- Improved import error message in contrib.comments 2012-12-16 21:12:45 +01:00
conditional_processing
context_processors
createsuperuser [py3] Used compatible imports of StringIO. 2012-08-08 14:50:01 +02:00
csrf_tests
custom_columns_regress
custom_managers_regress
datatypes
dates
db_typecasts
decorators
defaultfilters another failing test case for square brackets. 2012-12-03 12:11:32 +00:00
defer_regress Converted a couple of assertEquals -> assertEqual 2012-11-28 23:44:50 +02:00
delete_regress Made some tests behave nicer re connection handling 2012-11-27 19:47:20 +02:00
dispatch
expressions_regress Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
extra_regress Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
file_storage Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
file_uploads Fixed #19036 -- Fixed base64 uploads decoding 2012-11-17 17:25:21 +01:00
fixtures_regress Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
forms Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
generic_inline_admin Fixed the generic_inline_admin tests for python3. 2012-08-15 23:12:08 -04:00
generic_relations_regress Fixed #19500 -- Solved a regression in join reuse 2012-12-20 21:27:00 +02:00
generic_views Fixed #19378 -- Ensured get_success_url returns a non-lazy URL 2012-12-04 13:22:42 +01:00
get_or_create_regress
handlers
http_utils
httpwrappers Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
i18n Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
indexes Fixed #19441 -- Created PostgreSQL varchar index when unique=True 2012-12-18 09:56:30 +01:00
initial_sql_regress Amended an SQL test fixture to not include an id value 2012-12-10 17:49:04 +01:00
inline_formsets
inspectdb
introspection
localflavor
logging_tests Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
m2m_regress Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
m2m_through_regress Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
mail
managers_regress Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
many_to_one_regress
max_lengths
middleware
middleware_exceptions
model_fields Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
model_forms_regress Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
model_formsets_regress Fixed #19354 -- Do not assume usermodel.pk == usermodel.id 2012-11-29 21:45:43 +01:00
model_inheritance_regress
model_inheritance_select_related
model_permalink
model_regress Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
modeladmin
multiple_database Tweak a test to avoid hitting a limit with SQLite. 2012-11-23 10:02:18 +01:00
nested_foreign_keys
null_fk
null_fk_ordering
null_queries
one_to_one_regress
pagination Fixed a couple of stale tests caused by patch for #19462 2012-12-13 15:02:08 +02:00
queries Fixed #19500 -- Solved a regression in join reuse 2012-12-20 21:27:00 +02:00
queryset_pickle
requests Fixed a security issue in get_host. 2012-12-10 22:11:40 +01:00
resolve_url
reverse_single_related
select_related_onetoone
select_related_regress
serializers_regress Removed US localflavor-specific tests from core 2012-12-08 21:07:59 +01:00
servers Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
settings_tests Enabled SimpleTestCase to be decorated by override_settings 2012-11-25 19:06:17 +01:00
signals_regress
signed_cookies_tests
signing
sites_framework
special_headers
staticfiles_tests Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
string_lookup
swappable_models Fixed #19401 -- Ensure that swappable model references are case insensitive. 2012-12-20 16:10:19 +08:00
syndication Fixed #7936 -- Added Last-Modified header to feeds 2012-09-30 22:40:25 +02:00
templates Fixed #19392 -- Improved error for old-style url tags with dashes. 2012-12-09 16:17:56 +01:00
test_client_regress Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
test_runner
test_utils Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
text
transactions_regress Fixed #19354 -- Do not assume usermodel.pk == usermodel.id 2012-11-29 21:45:43 +01:00
urlpatterns_reverse Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
utils Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
version Fixed #18224 -- Changed the dev version number. 2012-04-29 13:40:10 +02:00
views Fixed #18856 -- Ensured that redirects can't be poisoned by malicious users. 2012-12-10 22:11:39 +01:00
wsgi [py3k] Silence many warnings while running the tests. 2012-09-07 13:17:34 -04:00
__init__.py