Commit Graph

15 Commits

Author SHA1 Message Date
Bertrand Bordage da4e21b515 Adds `CACHALOT_DATABASES` and removes dynamic setting support.
Dynamic setting support is removed because it’s not thread-safe.
2017-06-04 18:37:39 +02:00
Bertrand Bordage 571e6ec691 Adds CACHALOT_TIMEOUT. 2016-09-06 21:57:26 +02:00
Bertrand Bordage a8b77c6e32 Adds CACHALOT_ONLY_CACHABLE_TABLES. 2015-10-05 20:10:19 +02:00
Bertrand Bordage 5cc4d3ae93 Adds an UNCACHABLE_TABLES setting to fix some migrations issues in tests and significantly speed up tests. 2015-06-17 21:24:49 +02:00
Bertrand Bordage d84783b0f1 Simplifies cachalot_settings and forbids its modification. 2014-12-08 19:43:43 +01:00
Bertrand Bordage 4770df8798 Fixes overridden settings not working when they are already defined in Django settings. 2014-12-08 19:06:09 +01:00
Bertrand Bordage 6200a12b20 Invalidates raw queries. 2014-11-04 01:17:35 +01:00
Bertrand Bordage 83618b69cd Adds QUERY_KEYGEN & TABLE_KEYGEN. 2014-10-30 04:17:48 +01:00
Bertrand Bordage 5f94747ae6 Adds CACHALOT_CACHE_RANDOM. 2014-10-29 17:50:36 +01:00
Bertrand Bordage 7c5eea8df1 Uses ``wraps`` to be able to pickle patched methods. 2014-10-06 00:58:39 +02:00
Bertrand Bordage f4d8d9989c Fixes Python 2.6 support. 2014-10-05 03:17:48 +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 c4ed66b710 Allows to change CACHALOT_CACHE during transactions (useful for tests). 2014-10-05 01:25:48 +02:00
Bertrand Bordage ec89949043 Adds a CACHALOT_CACHE setting. 2014-10-04 12:59:45 +02:00