Commit graph

96 commits

Author SHA1 Message Date
Bertrand Bordage
be4e723b3f Commits an atomic cache after a SQL commit (not before). 2014-10-13 20:57:36 +02:00
Bertrand Bordage
ab6152dfb1 Use None as a default value (considering we now serialize results). 2014-10-07 16:08:23 +02:00
Bertrand Bordage
194297ce8a Updates version number. 2014-10-07 16:06:14 +02:00
Bertrand Bordage
71eb00ac73 Version 0.6.0. 2014-10-06 15:30:42 +02:00
Bertrand Bordage
a4d20241e1 Revert "[Travis CI] Removes database creation."
This reverts commit 5d8c5d5785.
2014-10-06 15:19:29 +02:00
Bertrand Bordage
5d8c5d5785 [Travis CI] Removes database creation. 2014-10-06 15:06:20 +02:00
Bertrand Bordage
13e75f7322 Fixes a test for MySQL. 2014-10-06 14:58:21 +02:00
Bertrand Bordage
8091fedbc2 Fixes the failing test. 2014-10-06 14:49:53 +02:00
Bertrand Bordage
b355fee144 Mark a test as an expected failure instead of skipping it. 2014-10-06 14:19:02 +02:00
Bertrand Bordage
f899792bfb Tests if None is a cached result. 2014-10-06 14:14:28 +02:00
Bertrand Bordage
8698673190 [Travis CI] Updates the exclude matrix. 2014-10-06 14:08:04 +02:00
Bertrand Bordage
a37c47ab0e [Travis CI] Adds memcached to the services. 2014-10-06 13:52:21 +02:00
Bertrand Bordage
371759b769 Pickles results so that memcached even caches None values. 2014-10-06 13:45:57 +02:00
Bertrand Bordage
4fe8ac0564 Uses an address instead of a UNIX socket for memcached. 2014-10-06 13:34:27 +02:00
Bertrand Bordage
f3eaf75ed1 Fixes hashing on Python 3. 2014-10-06 12:34:51 +02:00
Bertrand Bordage
5e638805d7 [Travis CI] Adds memcached runners. 2014-10-06 04:04:10 +02:00
Bertrand Bordage
5a2fb5e172 Hashes table invalidation keys. 2014-10-06 04:02:57 +02:00
Bertrand Bordage
c89b8e0b60 [Travis CI] Tests against memcached. 2014-10-06 03:14:58 +02:00
Bertrand Bordage
292cbc8bdc Hashes cache keys for memcached support. 2014-10-06 03:01:46 +02:00
Bertrand Bordage
7c5eea8df1 Uses `wraps` to be able to pickle patched methods. 2014-10-06 00:58:39 +02:00
Bertrand Bordage
0e48ffe63a Note on cachalot_settings as a class decorator. 2014-10-06 00:50:26 +02:00
Bertrand Bordage
bdd112e2fd Revert "Tests the settings overrider on classes."
This reverts commit 03302ff23a.
2014-10-06 00:45:34 +02:00
Bertrand Bordage
03302ff23a Tests the settings overrider on classes. 2014-10-05 13:05:10 +02:00
Bertrand Bordage
1d4caf4e24 Allows cachalot_settings to be imported directly from cachalot. 2014-10-05 12:55:41 +02:00
Bertrand Bordage
08db9e7ca3 Importation cleanup. 2014-10-05 12:55:09 +02:00
Bertrand Bordage
8a70935fc7 Adds coverage data to gitignore. 2014-10-05 12:54:33 +02:00
Bertrand Bordage
918cbafb4f Updates version number. 2014-10-05 12:51:26 +02:00
Bertrand Bordage
02b3770cc4 Version 0.5.0. 2014-10-05 03:29:00 +02:00
Bertrand Bordage
6aebbbb64a Removes some unused code. 2014-10-05 03:20:29 +02:00
Bertrand Bordage
f4d8d9989c Fixes Python 2.6 support. 2014-10-05 03:17:48 +02:00
Bertrand Bordage
92f2ecd557 Removes unpatch functions. 2014-10-05 03:14:57 +02:00
Bertrand Bordage
f1bb3ee001 Adds a context manager & decorator to dynamically override settings. 2014-10-05 03:11:26 +02:00
Bertrand Bordage
e8cff823d3 Adds a CACHALOT_ENABLED setting. 2014-10-05 02:36:19 +02:00
Bertrand Bordage
554dbfde94 Fixes database teardown in tests. 2014-10-05 01:46:24 +02:00
Bertrand Bordage
350bced73d Removes map for Python 3. 2014-10-05 01:41:24 +02:00
Bertrand Bordage
e5d003c8e4 Removes 2 debug methods. 2014-10-05 01:38:01 +02:00
Bertrand Bordage
323d9308e3 Note on how to dynamically change settings. 2014-10-05 01:34:28 +02:00
Bertrand Bordage
5888560850 Adds a test for CACHALOT_CACHE. 2014-10-05 01:26:51 +02:00
Bertrand Bordage
c4ed66b710 Allows to change CACHALOT_CACHE during transactions (useful for tests). 2014-10-05 01:25:48 +02:00
Bertrand Bordage
2f0ccce731 Optimization. 2014-10-05 00:59:05 +02:00
Bertrand Bordage
1e9828d0d4 Typo in README.rst. 2014-10-05 00:32:32 +02:00
Bertrand Bordage
ec89949043 Adds a CACHALOT_CACHE setting. 2014-10-04 12:59:45 +02:00
Bertrand Bordage
bc27896eb9 Fixes MySQL build. 2014-10-04 12:13:04 +02:00
Bertrand Bordage
e8652451fe Adds a test for prefetch_related invalidation. 2014-10-04 12:06:18 +02:00
Bertrand Bordage
852f9befe3 Adds a test for extra tables invalidation. 2014-10-04 11:13:11 +02:00
Bertrand Bordage
ac59b2b4e4 Updates version number. 2014-10-04 11:12:23 +02:00
Bertrand Bordage
97c5a2ab5f More precise version numbers in CHANGELOG.rst. 2014-10-01 22:34:17 +02:00
Bertrand Bordage
25dcee4136 Version 0.4.1. 2014-10-01 22:17:47 +02:00
Bertrand Bordage
823c2e86bc Adds a MANIFEST.in to fix #2. 2014-10-01 22:15:14 +02:00
Bertrand Bordage
4c04b24add Adds some info on how to talk together about django-cachalot. 2014-09-30 21:10:48 +02:00