| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-06-16 | [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| Backport of 4f336f66523001b009ab038b10848508fd208b3b from master | |||
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-04-05 | Fixed #26462 -- Fixed Python 2 UnicodeEncodeError when warning about long ↵ | Przemysław Suliga | |
| cache keys. | |||
| 2016-04-04 | Fixed #26460 -- Issued a single warning for invalid cache key | Przemysław Suliga | |
| 2016-03-08 | Fixed #26332 -- Fixed a race condition in BaseCache.get_or_set(). | Przemysław Suliga | |
| 2016-03-07 | Fixed #26331 -- Fixed test function names with typos | George Marshall | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2015-12-04 | Fixed #25840 -- Fixed BaseCache.get_or_set() on the DummyCache backend. | Emre Yilmaz | |
| This also fixes a possible data eviction race condition between setting and getting a key. Another thread could remove the key before get_and_set() accesses it again. In this case, now the default value will be returned instead of None. | |||
| 2015-11-09 | Fixed #6727 -- Made patch_cache_control() patch an empty Cache-Control header. | Dwight Gunning | |
| 2015-10-21 | Fixed spelling of "unpicklable" in cache tests. | Tim Graham | |
| 2015-10-20 | Fixed #25501 -- Made the file-based cache backend use the highest pickling ↵ | Andrew Artajos | |
| protocol. | |||
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-08-31 | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | |
| 2015-08-31 | Removed unnecessary DBCacheTests.test_clear_commits_transaction test. | Adam Chainz | |
| Was added in 44164c5c308da32a804dfb03ce0bffde2a6b4c56 but the transaction.commit_unless_managed() line was removed in ba5138b1c0253fcf390b7509ad7b954117b3be88; thus the test does nothing but check that clear() runs. | |||
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-04-09 | Fixed #24560 -- Added a --dry-run mode to the createcachetable command. | Adam Chainz | |
| 2015-03-14 | Fixed #12982 -- Added a get_or_set() method to the BaseCache backend. | Berker Peksag | |
| 2015-02-20 | Fixed #24351, #24346 -- Changed the signature of allow_migrate(). | Loic Bistuer | |
| The new signature enables better support for routing RunPython and RunSQL operations, especially w.r.t. reusable and third-party apps. This commit also takes advantage of the deprecation cycle for the old signature to remove the backward incompatibility introduced in #22583; RunPython and RunSQL won't call allow_migrate() when when the router has the old signature. Thanks Aymeric Augustin and Tim Graham for helping shape up the patch. Refs 22583. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-03 | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | |
| 2015-01-17 | Removed django.core.cache.get_cache() per deprecation timeline; refs #21012. | Tim Graham | |
| 2015-01-12 | Accounted for multiple template engines in template responses. | Aymeric Augustin | |
| 2015-01-08 | Isolated some cache tests; refs #23947. | Tim Graham | |
| This reverts a change made in 40c60efecc0fc73f0b2320b44d684586b52ee799 which was incorrect and caused CacheKeyWarnings. | |||
| 2014-12-30 | Applied ignore_warnings to Django tests | Claude Paroz | |
| 2014-12-28 | Moved context_processors from django.core to django.template. | Aymeric Augustin | |
| 2014-12-08 | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | |
| comprehension | |||
| 2014-12-06 | Refs #23947 -- Isolated some cache tests. | Tim Graham | |
| Thanks Diego Guimarãesi and Florian Apolloner. | |||
| 2014-12-01 | Replaced router.routers usage with override_settings(DATABASE_ROUTERS); refs ↵ | wrwrwr | |
| #23933. | |||
| 2014-11-13 | Fixed #16358 - Made memcache backend delete old value on a failure to set. | Michael Manfre | |
| Default Memcached configuration allows for a maximum object of 1MB and will fail to set the key if it is too large. The key will be deleted from memcached if it fails to be set. This is needed to avoid an issue with cache_db session backend using the old value stored in memcached, instead of the newer value stored in the database. | |||
| 2014-11-03 | Fixed #21281 -- Made override_settings act at class level when used as a ↵ | Thomas Chaumeny | |
| TestCase decorator. | |||
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-10-22 | Made testing of stdout and stderr more consistent. | Loic Bistuer | |
| Refs #23663. | |||
| 2014-10-20 | Moved a test case that caused deprecation warnings. | Loic Bistuer | |
| `cache.tests.TestEtagWithAdmin` loaded views from the `admin_views` test package. This is problematic because when the `cache` test package is run in isolation, `admin_views` isn't in INSTALLED_APPS, and therefore loading its models isn't allowed since the app loading refactor. | |||
| 2014-09-29 | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. | Thomas Chaumeny | |
| Thanks Collin Anderson for the review. | |||
| 2014-09-05 | Revert "Fixed #23384 -- Allowed overriding part of a dictionary-type setting" | Claude Paroz | |
| This reverts commit 66757fee7e921ad4c35e0b3f80c25e026100b31c. Discussions have led to think that this functionality does not bring significant benefits to justify the added complexity. Read also discussions on ticket #22734. | |||
| 2014-08-30 | Fixed a PEP 8 error. | Aymeric Augustin | |
| 2014-08-30 | Fixed #23384 -- Allowed overriding part of a dictionary-type setting | Claude Paroz | |
| This change is needed for upcoming changes where settings might be grouped in a parent dictionary. Thanks Tim Graham for the review. | |||
| 2014-06-23 | Ensured cache tests do not leak temp dirs | Claude Paroz | |
| Refs #17215. | |||
| 2014-06-16 | Fixed #22845 -- Correctly handled memcached default timeout value. | Vincent-Vega | |
| 2014-05-09 | Used more precise assertions in cache tests | Claude Paroz | |
| 2014-05-09 | Fixed #22606 -- Locmemcache has_key() failed for infinite cache expiry | Malcolm Box | |
| Refactored cache expiry logic for Locmemcache to make consistent across all places where accessed, and correctly handle None as expiry time. | |||
| 2014-04-23 | Fixed #22495 -- Locmem cache.add() failed with infinite timeouts | Malcolm Box | |
| cache.add() incorrectly succeeded when there was an existing key with an infinite (None) timeout. | |||
| 2014-04-21 | Prevented leaking the CSRF token through caching. | Aymeric Augustin | |
| This is a security fix. Disclosure will follow shortly. | |||
| 2014-04-21 | Appeased flake8 2.1.0. | Aymeric Augustin | |
| 2014-04-06 | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | |
| 2014-03-22 | Advanced deprecation warnings for 1.8. | Aymeric Augustin | |
| 2014-03-22 | Avoided transactional DDL on castrated databases. | Aymeric Augustin | |
| Fixed a test failure that appeared after 753a22a6, although the bug existed before that commit. Refs #22308. | |||
| 2014-03-21 | Fixed transaction handling in two management commands. | Aymeric Augustin | |
| Previously, when createcachetable and flush operated on non-default databases, they weren't atomic. | |||
| 2014-03-21 | Removed settings.CACHE_MIDDLEWARE_ANONYMOUS_ONLY per deprecation timeline. | Tim Graham | |
| refs #15201. | |||
| 2014-03-09 | Fixed #22237 -- Removed some warnings in the test suite | Claude Paroz | |
| Thanks Aymeric Augustin for the report. | |||
