Commit graph

17 commits

Author SHA1 Message Date
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
6aebbbb64a Removes some unused code. 2014-10-05 03:20:29 +02:00
Bertrand Bordage
92f2ecd557 Removes unpatch functions. 2014-10-05 03:14:57 +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
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
ec89949043 Adds a CACHALOT_CACHE setting. 2014-10-04 12:59:45 +02:00
Bertrand Bordage
fa0a44e0fc Clears the cache on test DB creation and destruction. 2014-09-29 22:03:05 +02:00
Bertrand Bordage
611f527079 Fixes invalidation between tests (as rollback is forced using connection.need_rollback). 2014-09-29 19:54:08 +02:00
Bertrand Bordage
b1087e9a53 Adds a special cache for transactions. 2014-09-29 19:16:53 +02:00
Bertrand Bordage
bddc3425ff Fixes `QuerySet.aggregate` invalidation. 2014-09-28 19:36:49 +02:00
Bertrand Bordage
b0cd3d371b Detects QuerySet.extra select & where arguments and avoid caching such queries.
Also fixes tables detection so that creation/deletion correctly invalidates queries.
2014-09-28 01:44:43 +02:00
Bertrand Bordage
53f8078a55 Version 0.1.0. 2014-09-26 16:53:44 +02:00