django/tests/regressiontests
Malcolm Tredinnick ba015e0a79 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.)


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 06:50:22 +00:00
..
auth_backends Changed the auth_backend tests in a cosmteic fashion so that they pass under Python 2.3 as well. 2007-10-20 08:15:42 +00:00
backends Fixed #6254: Made fetchone() in the oracle backend correctly convert 2008-01-04 22:51:22 +00:00
bug639 Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used. 2007-08-05 05:14:46 +00:00
cache Fixed #6099: the filebased cache backend now uses md5 hashes of keys instead of sanitized filenames. For good measure, keys are partitioned into subdirectories using the first few bits of the hash. Thanks, sherbang. 2007-12-04 18:03:56 +00:00
datastructures A forgotten file from [7743] (test the new DictWrapper class). 2008-06-26 03:16:55 +00:00
datatypes Fixed #3689, #5223 -- Fixed "1st of January" comparisons for SQLite without breaking the other backends. 2008-02-23 08:36:41 +00:00
dateformat Fixed #6023 -- Fixed daylight savings determination for years beyond 2038 on 2007-11-29 19:39:46 +00:00
db_typecasts Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
decorators Fixed a missing __init__.py from [7153] 2008-02-26 20:23:10 +00:00
defaultfilters Fixed #7542 -- Fixed bug in urlize where it was appending 'http://' to the link text. Thanks for the patch and tests, devin 2008-06-26 05:07:13 +00:00
dispatch Fixed #4040 -- Changed uses of has_key() to "in". Slight performance 2007-04-26 13:30:48 +00:00
fixtures_regress Fixed #4371 -- Improved error checking when loading fixtures. Code now catches explicitly named fixture formats that are not supported (e.g, YAML fixtures if you don't have PyYAML installed), and fixtures that are empty (which can happen due to XML tag errors). Thanks to John Shaffer for the suggestion, and Keith Bussell for his work on the fix. 2008-06-08 08:21:18 +00:00
forms Fixed #4860: added 'for' attributes to labels in newforms widgets. Thanks to Ivan Sagalaev and batiste@dosimple.ch for the patches. 2008-06-18 16:33:04 +00:00
httpwrappers Fixed a Python 2.3 problem from [6927]. 2007-12-17 08:50:19 +00:00
humanize Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 2007-11-14 12:58:53 +00:00
i18n Tweaked an i18n test that is a bit sensitive to Python versions. It returns 2008-03-17 16:03:46 +00:00
initial_sql_regress Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used. 2007-08-05 05:14:46 +00:00
invalid_admin_options Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used. 2007-08-05 05:14:46 +00:00
many_to_one_regress Fixed #6886: Tightened up ForeignKey and OneToOne field assignment. Specifically: 2008-06-05 00:39:32 +00:00
max_lengths Fixed #231: all fields that should take max_length now do. Thanks, Don Spaulding. 2007-09-19 23:33:57 +00:00
maxlength Fixed #6122: Fixed tests broken by [6872]. Thanks, Matt. 2007-12-04 17:14:32 +00:00
middleware Fixed Python 2.3 problem I introduced all the way back in [6852]. :-( 2008-01-06 07:23:21 +00:00
model_fields Fixed #6445 -- Allow model instances to be used as a default for ForeignKeys 2008-03-20 06:56:23 +00:00
model_inheritance_regress Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, which had multiple problems: 2008-06-09 14:03:35 +00:00
model_regress Added a test for month selection under SQLite in case an old possible bug ever 2008-03-24 14:19:12 +00:00
null_fk Fixed #7369: fixed a corner-case involving select_related() following non-null FKs after null ones. Thanks, George Vilches 2008-06-08 18:13:46 +00:00
null_queries Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
one_to_one_regress Fixed #6886: Tightened up ForeignKey and OneToOne field assignment. Specifically: 2008-06-05 00:39:32 +00:00
queries Fixed #7181 -- when ordering by a potentially NULL field, use a left-outer join 2008-06-26 06:50:22 +00:00
requests Fixed #6764 -- Added some error checking around cookie decoding. Thanks, 2008-03-17 13:49:04 +00:00
serializers_regress Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, which had multiple problems: 2008-06-09 14:03:35 +00:00
string_lookup Re-enable substring lookups for IP address fields in Postgres using HOST() Thanks for the suggestion, Thomas Adamcik. Fixes #708. 2008-02-26 23:12:47 +00:00
syndication Forgot to commit a new file from [7328]. 2008-03-20 06:56:46 +00:00
templates Fixed #6201 -- Improved the {% cache %} template tag to allow the timeout to be a template variable. Inspired by the patch by zz and edrik 2008-06-26 04:54:10 +00:00
test_client_regress Fixed #5836 -- Corrected the logic in the Test Client when an exception raised by a view is caught and re-raised. Thanks for the report, test case, and fix, Chris Wagner. 2008-06-07 06:25:59 +00:00
text Fixed #5816 -- Fixed a regression from [6333] that generates incorrect cookie "expires" dates when using a locale other than English. Introduced `http_date` and `cookie_date` utility functions. Thanks for the report Michael Lemaire. Thanks for the patch Karen Tracey and `SmileyChris`. 2007-10-31 03:59:40 +00:00
urlpatterns_reverse Fixed #6831 -- Reverse URL resolver now replaces backslashes correctly. Thanks, Bastian Kleineidam 2008-06-16 04:16:21 +00:00
utils Fixed #6679 -- In `decorator_from_middleware`, don't unpack arguments when calling a middleware's 2008-03-17 17:47:34 +00:00
views Fixed #5596 -- Changed the static view for the development server so that Django doesn't crash if somebody tries to serve a 200MB file. Patch from eibaan. 2007-12-17 11:46:48 +00:00
__init__.py Added regressions tests to ensure that one-to-one and many-to-many fields 2006-06-20 05:29:19 +00:00