Commit graph

150 commits

Author SHA1 Message Date
Bertrand Bordage
bcdc9c580c Adds a horizontal line. 2014-10-29 00:05:08 +01:00
Bertrand Bordage
ee4c4970ec Another typo. 2014-10-29 00:00:33 +01:00
Bertrand Bordage
ae55550265 Typo. 2014-10-28 23:58:59 +01:00
Bertrand Bordage
e83c51f81d Updates README.rst. 2014-10-28 23:56:53 +01:00
Bertrand Bordage
d36ee841b9 Creates a Sphinx documentation. 2014-10-28 23:44:28 +01:00
Bertrand Bordage
bc31429394 Adds an API. 2014-10-28 22:41:51 +01:00
Bertrand Bordage
6036a525c4 Checks that SQL queries weren’t concurrently invalidated during their execution. 2014-10-28 19:51:14 +01:00
Bertrand Bordage
2d4f71f7e0 Updates version number. 2014-10-28 19:11:57 +01:00
Bertrand Bordage
6df019553a Version 0.8.1. 2014-10-28 19:08:50 +01:00
Bertrand Bordage
8efdae5bf4 Add a TODO about a lock around SQL queries. 2014-10-28 19:05:15 +01:00
Bertrand Bordage
65db345fbc Don’t import cachalot_settings in __init__ to avoid an issue with pip when Django isn’t yet installed. 2014-10-28 19:00:24 +01:00
Bertrand Bordage
ea7b9f79cb [Travis CI] Updates the exclude matrix. 2014-10-22 22:23:46 +02:00
Bertrand Bordage
fbb81197be [Travis CI] Updates Django. 2014-10-22 22:05:48 +02:00
Bertrand Bordage
6d1c6cb35a Updates version number. 2014-10-22 22:05:12 +02:00
Bertrand Bordage
f26f0f8635 Version 0.8.0. 2014-10-22 00:37:01 +02:00
Bertrand Bordage
5a4f0a4f7a Fixes tests for Django 1.7 & MySQL. 2014-10-21 23:49:26 +02:00
Bertrand Bordage
e276d3961c Adds a test to find if the cache is invalidated after flush and loaddata commands. 2014-10-21 23:10:58 +02:00
Bertrand Bordage
e9b6b40117 Partially reverts 5708345. 2014-10-21 21:47:50 +02:00
Bertrand Bordage
b2c9ba6346 Only add South in Django < 1.7. 2014-10-21 20:42:40 +02:00
Bertrand Bordage
57083451f1 Uses signals to invalidate cache when a DB schema is altered. 2014-10-21 20:29:02 +02:00
Bertrand Bordage
1f1697891b Adds more multi-database tests. 2014-10-21 19:51:03 +02:00
Bertrand Bordage
aa1d367c89 Changes a skip condition. 2014-10-21 18:22:24 +02:00
Bertrand Bordage
b872e22cdc Small Python optimizations. 2014-10-21 13:56:58 +02:00
Bertrand Bordage
11070fe3c6 Removes a useless cache.delete_many call thanks to a clarification. 2014-10-21 13:43:08 +02:00
Bertrand Bordage
dfdb845c55 Simplification. 2014-10-21 13:40:08 +02:00
Bertrand Bordage
795ba3a81c Tests speedup. 2014-10-21 13:38:07 +02:00
Bertrand Bordage
19f306054d Adds multi-database support. 2014-10-20 23:43:10 +02:00
Bertrand Bordage
65a8008073 Adds a basic multi-database test. 2014-10-20 22:18:00 +02:00
Bertrand Bordage
14bd24f68a Tests again multiple databases at the same time. 2014-10-20 21:04:16 +02:00
Bertrand Bordage
6c96f17762 Adds some flat design badges. 2014-10-20 19:35:21 +02:00
Bertrand Bordage
a4f766fd14 Adds tests for select_for_update. 2014-10-20 17:25:20 +02:00
Bertrand Bordage
7877a13e82 Adds 2 tests. 2014-10-20 16:44:22 +02:00
Bertrand Bordage
0df8b7aeb9 Fixes tests on Django 1.6. 2014-10-20 16:15:27 +02:00
Bertrand Bordage
0da4880442 Separates tests in several files. 2014-10-20 15:40:37 +02:00
Bertrand Bordage
9ad5582f09 Takes SQLite BEGINs into account in TransactionTestCases. 2014-10-19 22:51:59 +02:00
Bertrand Bordage
cdd04b27a2 Switches all tests to TransactionTestCase. 2014-10-19 22:25:40 +02:00
Bertrand Bordage
24344877ce Typo in README. 2014-10-19 22:05:14 +02:00
Bertrand Bordage
9cad105d01 Detail in README. 2014-10-19 21:56:10 +02:00
Bertrand Bordage
cc79633137 Updates version number. 2014-10-19 21:55:44 +02:00
Bertrand Bordage
cf35965466 Version 0.7.0. 2014-10-19 21:52:09 +02:00
Bertrand Bordage
941ef625fc Updates README and warns about locmem limits. 2014-10-19 21:39:18 +02:00
Bertrand Bordage
09232d715c Removes an unused import. 2014-10-19 21:17:07 +02:00
Bertrand Bordage
2b02eec743 Simplification. 2014-10-19 20:59:00 +02:00
Bertrand Bordage
f6b85adb98 Invalidates the parent cache before updating it to avoid the committed atomic cache keys for table queries to override those of the parent cache. 2014-10-19 20:40:24 +02:00
Bertrand Bordage
441506f3f0 Rewrites caching in transactions for a better multi-threading/processing handling. 2014-10-19 20:15:57 +02:00
Bertrand Bordage
bfca337e0b Adds another thread-safety test. 2014-10-19 17:34:02 +02:00
Bertrand Bordage
611e4c980a Adds 4 thread-safety tests. 2014-10-15 17:33:45 +02:00
Bertrand Bordage
6000d3be55 Fixes two issues in ThreadSafetyTestCase. 2014-10-15 16:32:01 +02:00
Bertrand Bordage
3dec971422 Invalidates queries cached within a concurrent connection of a transaction. 2014-10-14 02:01:32 +02:00
Bertrand Bordage
f76d3adf08 Adds a basic thread-safety test case. 2014-10-14 01:48:42 +02:00