django/tests/regressiontests
Anssi Kääriäinen 5aa51fa999 Simplified QuerySet field.null handling
QuerySet had previously some complex logic for dealing with nullable
fields in negated add_filter() calls. It seems the logic is leftover
from a time where the WhereNode wasn't as intelligent in handling
field__in=[] conditions.

Thanks to aaugustin for comments on the patch.
2012-04-29 16:27:25 +03:00
..
admin_changelist Fixed #13196 -- Formatting in admin changelists. 2012-04-29 11:51:12 +02:00
admin_custom_urls More django.conf.urls.defaults removals. Refs #17132 2011-10-29 12:24:44 +00:00
admin_filters Fixed #18086 -- Restored '-pk' as the default order in the admin changelist. This rectifies a slight change in behavior introduced in Django 1.4 and r17635. 2012-04-09 04:28:32 +00:00
admin_inlines Enabled the existing admin Selenium tests to be run with Internet Explorer. Note that some tweaks had to be made, in particular as IE7 has limited capabilities regarding CSS selectors. 2012-03-05 08:13:09 +00:00
admin_ordering Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
admin_registration Fixed #17090 -- Made the API specification for `ModelAdmin.get_list_display()` more consistent with that of `ModelAdmin.list_display` by separating out the admin action check boxes business. This is backwards-incompatible for those who have been using the still-unreleased `get_list_display()` method. Thanks to Ramiro Morales for the review. 2011-10-26 09:37:07 +00:00
admin_scripts Fixed #18035 -- Removed deprecated AdminMediaHandler, as per official deprecation timeline. Thanks Jannis Leidel and Ramiro Morales for the review. 2012-04-08 21:13:32 +00:00
admin_util Fixed #17596 -- Stopped the AdminField class from double quoting its label. Thanks, guettli and claudep. 2012-02-04 12:48:21 +00:00
admin_validation Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
admin_views Converted more test assertions to assert[Not]Contains. 2012-04-14 13:35:25 +00:00
admin_widgets Converted more test assertions to assert[Not]Contains. 2012-04-14 13:35:25 +00:00
aggregation_regress Renamed the fixtures used by the aggregation tests so they're only loaded by the tests that use them. Refs #17275. 2011-11-27 10:31:26 +00:00
app_loading Removed executable bits from some files that don't need them. 2012-03-09 12:13:31 +00:00
backends Fixed #17653 -- Changed MySQL backend to raise a ValueError if zero is used as an AutoField value. 2012-04-24 18:03:14 +00:00
bash_completion Removed the deprecated reset and sqlreset management commands. 2012-03-31 12:38:11 +00:00
bug639 Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
bug8245 Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
builtin_server Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
bulk_create Fixed #17653 -- Changed MySQL backend to raise a ValueError if zero is used as an AutoField value. 2012-04-24 18:03:14 +00:00
cache Use the class decorator syntax available in Python >= 2.6. Refs #17965. 2012-03-30 09:08:29 +00:00
comment_tests Converted more test assertions to assert[Not]Contains. 2012-04-14 13:35:25 +00:00
conditional_processing Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
context_processors Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
createsuperuser Fixed #17327 (again) -- Moved createsuperuser tests added in r17665. 2012-03-10 17:36:41 +00:00
csrf_tests Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
custom_columns_regress Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
custom_managers_regress Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
datatypes Added support for time zones. Thanks Luke Plant for the review. Fixed #2626. 2011-11-18 13:01:06 +00:00
dates Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
db_typecasts Removed remains from times when tests could be run outside of runtests.py. 2011-10-26 21:03:18 +00:00
decorators Fixed #15840 -- Wrapped inner function of the condition decorator with functools.wraps to follow best practices. Thanks, zsiciarz. 2012-02-09 18:57:06 +00:00
defaultfilters Fixed #18071 -- Ignored case sensitivity in urlize utility. Thanks luke@creaturecreative.com and adamzap for the report and the patch. 2012-04-11 17:49:22 +00:00
defer_regress Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
delete_regress Fixed #17918 - Handle proxy models correctly when sorting deletions for databases without deferred constraints. Thanks Nate Bragg for the report. 2012-03-17 01:24:39 +00:00
dispatch Fix the dispatch test GC code under PyPy, and make the comment for Jython better. 2012-01-01 21:11:05 +00:00
expressions_regress Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
extra_regress Fixed #17877 -- Ensured that extra WHERE clauses get correctly ANDed when they contain OR operations. Thanks to Marek Brzóska for the report, to eleather for the test case and to Adrien Lemaire for the patch. 2012-04-09 00:43:08 +00:00
file_storage Fixed #15644 -- Improved Django File wrapper to support more file-like objects. Thanks nickname123 and Michael Palumbo for working on the patch. 2012-04-05 15:44:04 +00:00
file_uploads Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
fixtures_regress Fixed #17530 - Fixture loading with deferred constraints broken for Postgres for fixtures from multiple dirs/files 2012-01-14 17:26:32 +00:00
forms Fixed #17976 -- Made forms.BooleanField pickleable. 2012-04-29 14:25:06 +02:00
generic_inline_admin Removed deprecated URLField.verify_exists. 2012-03-31 13:55:03 +00:00
generic_relations_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
generic_views Fixed #18087 -- Prevented date-based generic views from loading entire tables in memory when pagination is enabled. 2012-04-10 20:05:46 +00:00
get_or_create_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
handlers Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
httpwrappers Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
i18n Fixed #18037 -- Changed behaviour of url and ssi template tags to the new syntax, as per official deprecation timeline. Thanks Ramiro Morales and Jannis Leidel for the review. 2012-04-24 19:55:52 +00:00
initial_sql_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
inline_formsets Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
inspectdb Fixed #15076 -- Quoted ForeignKey target class names in inspectdb when class is defined below. 2012-04-27 06:56:31 +00:00
introspection Made table_names() output sorted. 2012-04-29 02:11:55 +03:00
localflavor Removed deprecated gender check in cz localflavor. Refs #14593. 2012-04-26 17:48:50 +00:00
logging_tests Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
m2m_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
m2m_through_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
mail Made email attachment handling code accept non-ASCII filenames. 2012-01-15 02:33:31 +00:00
managers_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
many_to_one_regress Fixed #18002 -- Fixed typo in attribute name in ReverseSingleRelatedObjectDescriptor. 2012-04-12 20:23:41 +00:00
max_lengths Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
middleware Use the class decorator syntax available in Python >= 2.6. Refs #17965. 2012-03-30 09:08:29 +00:00
middleware_exceptions Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
model_fields Fix #16570: Restore ability to have decimal fields where max_digits equals decimal_places. Thanks dcwatson and kenth. 2011-11-12 19:53:56 +00:00
model_forms_regress Removed deprecated URLField.verify_exists. 2012-03-31 13:55:03 +00:00
model_formsets_regress Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
model_inheritance_regress Fixed #17615 -- Corrected unique field validation when using multitable inheritance. The validation used wrong pk value if the parent and child model had different pk fields. Thanks ungenio for the report and patch. 2012-04-20 17:34:29 +00:00
model_inheritance_select_related Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
model_permalink Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
model_regress Fixed #13640: Avoid generating an exception when a model has an attribute named 'evaluate'. Thanks LukaszKorzybski and tobias. 2011-11-13 15:09:08 +00:00
modeladmin Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
multiple_database Fixed various dodgy behaviours 2011-12-17 17:37:24 +00:00
null_fk Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
null_fk_ordering Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
null_queries Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
one_to_one_regress Made the caching of related and reverse related objects consistent in OneToOneFields. Fixed #13839. Refs #17439. 2012-04-10 12:29:25 +00:00
pagination_regress Fixed #13689 -- Convert the per_page value to an integer upon initialization of the Paginator class to prevent unpleasant TypeErrors. Thanks, rbanffy, Eric Florenzano and Claude Paroz. 2011-04-22 12:03:03 +00:00
queries Simplified QuerySet field.null handling 2012-04-29 16:27:25 +03:00
queryset_pickle Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
requests Fixed #18029 -- Removed mod_python as of deprecation process. Thanks Aymeric Augustin for the review. 2012-03-31 10:34:11 +00:00
reverse_single_related Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
select_related_onetoone Made the caching of related and reverse related objects consistent in OneToOneFields. Fixed #13839. Refs #17439. 2012-04-10 12:29:25 +00:00
select_related_regress Added support for modifying the effect of ``DISTINCT`` clauses so they 2011-12-22 20:42:40 +00:00
serializers_regress Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
servers Fixed #18035 -- Removed deprecated AdminMediaHandler, as per official deprecation timeline. Thanks Jannis Leidel and Ramiro Morales for the review. 2012-04-08 21:13:32 +00:00
settings_tests Extended TrailingSlashURLTests to cover STATIC_URL as well as MEDIA_URL. 2012-03-31 13:11:02 +00:00
signals_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
signed_cookies_tests Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
signing Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
sites_framework Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
special_headers Fixed #18033 -- Removed function-based generic views, as per official deprecation timeline. Rest in peace! Thanks Anssi Kääriäinen for the review. 2012-04-25 19:17:47 +00:00
staticfiles_tests Use the class decorator syntax available in Python >= 2.6. Refs #17965. 2012-03-30 09:08:29 +00:00
string_lookup Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
syndication Fixed #16753 -- Supported network-path references in the syndication framework. Thanks cato for the report and patch. 2011-11-18 22:54:24 +00:00
templates Removed unneeded deprecation warning silencing in test suite. 2012-04-26 18:06:17 +00:00
test_client_regress Removed deprecated tests missed in r17839. 2012-03-31 13:58:03 +00:00
test_runner Fixed #16961 -- Skipped resetting AUTO_INCREMENT fields for MySQL if the server version is greater than 5.0.12. This allows for much faster testing. 2012-04-24 16:47:31 +00:00
test_utils Fixed #18027 -- Removed an HTMLParser test that doesn't raise any more in recent Python versions. Thanks Arfever and Anssi Kaariainen for the report and the patch. 2012-04-11 21:25:22 +00:00
text Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
transactions_regress Fixed #6669 -- Ensured database connections are marked as dirty by CursorDebugWrapper.execute/executemany. Refs #9964. Thanks james at 10gic net for the report and Claude Paroz for the patch. 2012-01-12 21:55:19 +00:00
urlpatterns_reverse Fixed #18037 -- Changed behaviour of url and ssi template tags to the new syntax, as per official deprecation timeline. Thanks Ramiro Morales and Jannis Leidel for the review. 2012-04-24 19:55:52 +00:00
utils Fixed #17937 -- Avoided an error in the timeuntil filter when it receives a date object. Thanks Dmitry Guyvoronsky for the report. 2012-03-22 07:29:39 +00:00
version Fixed #18224 -- Changed the dev version number. 2012-04-29 13:40:10 +02:00
views Fixed #18033 -- Removed function-based generic views, as per official deprecation timeline. Rest in peace! Thanks Anssi Kääriäinen for the review. 2012-04-25 19:17:47 +00:00
wsgi Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
__init__.py