Commit graph

65 commits

Author SHA1 Message Date
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
Bertrand Bordage
d0ca19ac6f Moves the project image. 2014-09-29 23:49:55 +02:00
Bertrand Bordage
05d0d077d6 Version 0.4.0. 2014-09-29 23:47:58 +02:00
Bertrand Bordage
7bb8b93eb5 [Travis CI] Fix incompatibilities. 2014-09-29 23:29:41 +02:00
Bertrand Bordage
354a7b4c73 [Travis CI] Fixes a variable name. 2014-09-29 23:20:41 +02:00
Bertrand Bordage
3be42bea79 [Travis CI] Tries to fix Python 2.6 & 3.2 tests. 2014-09-29 23:18:22 +02:00
Bertrand Bordage
60430af921 [Travis CI] Changes a variable name. 2014-09-29 23:13:03 +02:00
Bertrand Bordage
fa9d621feb [Travis CI] Adds Python 2.6. 2014-09-29 23:10:31 +02:00
Bertrand Bordage
cda0c61aa1 Adds a Travis CI script. 2014-09-29 23:04:57 +02:00
Bertrand Bordage
482f2ab8c3 Adapts 2 tests to MySQL. 2014-09-29 23:04:36 +02:00
Bertrand Bordage
a8d9c4faa8 Adds MySQL to the test runner. 2014-09-29 22:30:06 +02:00
Bertrand Bordage
991bdc7ea0 Adds the coveralls token. 2014-09-29 22:05: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
e39b47515f Removes django-redis from requirements. 2014-09-29 21:20:30 +02:00
Bertrand Bordage
8f83fa48ec Updates a test for PostgreSQL. 2014-09-29 20:52:19 +02:00
Bertrand Bordage
fed5844923 Removes a useless line from tests. 2014-09-29 20:45:03 +02:00
Bertrand Bordage
8daf820c6e Moves an import for Django1.6 compatibility. 2014-09-29 20:43:35 +02:00
Bertrand Bordage
3bda845310 Updates test runner for Django 1.7, PostgreSQL & Redis. 2014-09-29 20:41:34 +02:00
Bertrand Bordage
eb471449ba Typo. 2014-09-29 20:18:00 +02:00
Bertrand Bordage
49e884bfe2 Version 0.3.0. 2014-09-29 20:05:50 +02:00
Bertrand Bordage
f4ada58231 Updates README.rst. 2014-09-29 20:04:14 +02:00
Bertrand Bordage
f977e78344 Adapts tests to PostgreSQL (the default order and pk behaviours are different). 2014-09-29 20:03:33 +02:00
Bertrand Bordage
f6e8d0d941 Updates tests. 2014-09-29 19:54:31 +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
4835ed9cba Adds the remaining missing tests for transactions. 2014-09-29 15:44:29 +02:00
Bertrand Bordage
f882cafa50 Typo in README.rst. 2014-09-29 12:51:45 +02:00
Bertrand Bordage
83200493af Adds more complex cases to subquery tests. 2014-09-29 12:48:05 +02:00
Bertrand Bordage
8544d0afe8 Adds some transaction tests. 2014-09-29 12:26:28 +02:00
Bertrand Bordage
f88b78a7ec Adds a basic transaction test case. 2014-09-29 12:10:40 +02:00
Bertrand Bordage
1d63bbc0ec Adds more cases to select_related and prefetch_related tests. 2014-09-29 11:50:28 +02:00
Bertrand Bordage
4397117c0d Adds some ideas to README.rst. 2014-09-29 11:45:40 +02:00