summaryrefslogtreecommitdiff
path: root/tests/regressiontests/utils
AgeCommit message (Collapse)Author
2008-08-26Fixed #7201 -- Fixed the timeuntil filter to work correctly with timezone-awareMalcolm Tredinnick
times. Patch from Jeremy Carbaugh. This is backwards incompatible in the sense that previously, if you tried to compare timezone-aware and timezone-naive values, you got an incorrect result. Now you get an empty string. So your previously incorrect code returns a different incorrect result. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23Removed some potentially misleading code (it isn't executed) after the changesMalcolm Tredinnick
in [8055]. Thanks, Karen. Refs #7745. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22Fixed a bunch of Python 2.3 test failures.Malcolm Tredinnick
All remaining buildbot failures on 2.3 are not due to the test suite, as far as I can work out. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-13Fixed #7718 -- Added a naive implementation of sorted() for Python 2.3 ↵Russell Keith-Magee
compatibility, and modified test cases to import the function when required. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-11Fixed #7303 -- Clarified a test case that was dependent on dict ordering. ↵Russell Keith-Magee
Thanks to leosoto for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17Fixed #6679 -- In `decorator_from_middleware`, don't unpack arguments when ↵Gary Wilson Jr
calling a middleware's `process_view` method, thanks Gulopine. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29Fixed #6050 -- Handled edge-case of duplicate keys being passed whenMalcolm Tredinnick
initialising SortedDict. Patch from Collin Grady and SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #5475 -- Added the Luhn check algorithm to django.utils.checksums so thatMalcolm Tredinnick
localflavors don't have to reimplement it each time. Thanks, __hawkeye__. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-17Fixed #2675 -- Changed the `timeuntil` and `timesince` template filters to ↵Gary Wilson Jr
display "0 minutes" when passed a past or future date respectively instead of "-1 years, 12 months". Thanks to nickefford for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15Fixed #4310 -- Fixed a regular expression bug in `strip_entities` function ↵Gary Wilson Jr
and added tests for several `django.utils.html` functions. Based on patch from Brian Harring. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5701 bcc190cf-cafb-0310-a4f2-bffc1f526a37