| Age | Commit message (Collapse) | Author |
|
|
|
Thanks Simon Charette for the review.
|
|
|
|
* assertIsNone()/assertIsNotNone() instead of comparing to None.
* assertLess() for < comparisons.
* assertIs() for 'is' expressions.
* assertIsInstance() for isinstance() expressions.
* rounding of assertAlmostEqual() for round() expressions.
* assertIs(..., True/False) instead of comparing to True/False.
* assertIs()/assertIsNot() for ==/!= comparisons.
* assertNotEqual() for == comparisons.
* assertTrue()/assertFalse() instead of comparing to True/False.
|
|
Cache-Control directive to patch_cache_control().
https://tools.ietf.org/html/rfc7234#section-5.2.2.2
|
|
Cache-Control directive.
|
|
Removed usage of urllib.quote(), unnecessary since cbbe60c7fc39fa8ff75554bd90104eaad6924bb1.
Used hasher's .update() on key fragments.
|
|
to RFC 7231.
|
|
if None is cached.
|
|
Used more specific errors (e.g. FileExistsError) as appropriate.
|
|
FileBasedCacheTests.test_creates_cache_dir_if_nonexistent().
|
|
favor of databases.
|
|
|
|
|
|
delete_many() for the db cache backend.
|
|
|
|
Thanks Guyon Morée for the report.
|
|
|
|
|
|
key generation.
|
|
"Cache-Control: private".
|
|
LRU culling turns every read into a kind of write to the cache: cache keys
are moved to the first position in the OrderedDict when they are retrieved.
The RWLock which permitted multiple readers while prioritizing a single
writer is obsolete since all accesses are now writes.
|
|
|
|
other backends.
|
|
a callable that returns None.
|
|
|
|
top-level attributes of CACHES['OPTIONS'].
Per deprecation timeline.
|
|
|
|
file is empty.
|
|
|
|
iter(dict) is equivalent to iter(dict.keys()).
|
|
|
|
Python docs say, "it's usually not necessary to invoke these methods directly."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
io.open() is an alias for open() on Python 3.
|
|
Thanks Tim Graham for the review.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
ConditionalGetMiddleware.
|
|
|