Commit Graph

490 Commits

Author SHA1 Message Date
Bertrand Bordage 7efb8ae232 Adds tests for many-to-many managers. 2015-10-02 23:19:02 +02:00
Bertrand Bordage 1c1b6ebd26 Add 2 test for foreign key relations. 2015-10-02 21:04:33 +02:00
Bertrand Bordage 969e7af538 Remove Gratipay badges because of the drastic policy changes of Gratipay 2.0. 2015-10-02 21:03:37 +02:00
Bertrand Bordage e72c6c5e85 Mark datetime types as valid SQL param types (for psycopg2). 2015-10-02 20:45:43 +02:00
Bertrand Bordage 104f58e97d Downgrades coverage for Python 3.2. 2015-10-02 20:26:52 +02:00
Bertrand Bordage 32135f6b43 Fixes version comparisons. 2015-10-02 20:09:52 +02:00
Bertrand Bordage 6c140096ec Fixes the number of queries on rollback with Django 1.7. 2015-10-02 20:04:05 +02:00
Bertrand Bordage fd7afc6fed Updates a query amount in transactions. 2015-10-02 19:53:50 +02:00
Bertrand Bordage 9938b54123 Merge branch 'master' into django-1.8
Conflicts:
	cachalot/cache.py
	cachalot/monkey_patch.py
	cachalot/tests/read.py
	cachalot/utils.py
	tox.ini
2015-10-02 18:39:04 +02:00
Bertrand Bordage 839b84edcf Version 1.0.3. 2015-06-19 21:27:45 +02:00
Bertrand Bordage 4ae8bccf96 Fixes Python 3 compatibility. 2015-06-19 19:46:10 +02:00
Bertrand Bordage ba34e6c1c6 Updates a test name and description. 2015-06-19 19:33:46 +02:00
Bertrand Bordage 709513db65 Avoids caching queries with an unknown parameter type.
This fixes #21.
2015-06-19 19:32:46 +02:00
Bertrand Bordage 024676f6e2 Adds a test for BinaryField in order to test unknown parameters types. 2015-06-19 18:50:29 +02:00
Bertrand Bordage d9259802fa Fixes an issue with MySQL. 2015-06-19 18:06:20 +02:00
Bertrand Bordage 7f86cfe1cc Python optimisations. 2015-06-18 03:07:04 +02:00
Bertrand Bordage 1d4e8f8c8b Fixes the `SET SQL_AUTO_IS_NULL = 0` issue in the multi-db test. 2015-06-17 23:08:36 +02:00
Bertrand Bordage d2b03e5d8d Creates a MySQL cursor before each test to avoid the extra `SET SQL_AUTO_IS_NULL = 0` request. 2015-06-17 23:00:52 +02:00
Bertrand Bordage d9e19a8ca5 Simplifications. 2015-06-17 22:39:39 +02:00
Bertrand Bordage f10f6daae5 Adds a test for CACHALOT_UNCACHABLE_TABLES. 2015-06-17 22:37:08 +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 a504efc8a7 Simplification. 2015-06-17 21:22:22 +02:00
Bertrand Bordage dbfdf3f916 Version 1.0.2. 2015-05-24 20:39:56 +02:00
Bertrand Bordage 1816779d35 Updates docs. 2015-05-24 19:59:00 +02:00
Bertrand Bordage a32f86ffb4 Optimizes automatic invalidation. 2015-05-24 19:34:24 +02:00
Bertrand Bordage 720480359b Stops caching queries with random subqueries. 2015-05-24 19:29:50 +02:00
Bertrand Bordage e89fe83992 Fixes the AttributeError happening when excluding through a M2M on a multi-table inheritance child model. 2015-05-24 18:28:16 +02:00
Bertrand Bordage aa6c93334b Use django-redis 3.8.3 with Python 2.6 because of niwinz/django-redis#132. 2015-05-24 18:22:35 +02:00
Bertrand Bordage 9f672d2373 Adds tests for two newly discovered minor bugs. 2015-05-24 18:13:18 +02:00
Bertrand Bordage 5e872d3040 Updates tox.ini for the latest django-redis version. 2015-05-24 18:13:18 +02:00
Bertrand Bordage 2cc49d1610 Merge pull request #20 from josephdrose/master
#19: add documentation about multiple servers and cache invalidation
2015-05-08 14:43:19 +02:00
Joe Rose e552160c08 #19 2015-05-08 07:57:46 -04:00
Bertrand Bordage 9d2aba8680 Version 1.0.1. 2015-04-17 20:44:39 +02:00
Bertrand Bordage 3798a1c97d Adds a signal to trigger post-invalidation behaviours. 2015-04-17 20:06:18 +02:00
Bertrand Bordage 389aded5bf Fixes the invalidation error discovered by @helenwarren. 2015-04-17 18:11:44 +02:00
Bertrand Bordage 00de631330 Rewrites #16 in a minimal way, using an existing test and the models. 2015-04-17 18:10:33 +02:00
Bertrand Bordage 28eadb663a Merge pull request #16 from helenwarren/master
Tests related to many to many relationships used via exclude queries
2015-04-17 17:44:54 +02:00
Helen Warren 4eeeb70225 Tests related to many to many relationships used via exclude queries 2015-04-17 13:50:51 +01:00
Bertrand Bordage b1a8bb4ba9 Adds Django 1.8 to the test matrix. 2015-04-11 03:14:10 +02:00
Bertrand Bordage b6c255aaa6 Merge branch 'master' into django-1.8
Conflicts:
	cachalot/utils.py
2015-04-11 02:42:17 +02:00
Bertrand Bordage 3221692ef6 Use cursors as context managers in benchmark.py. 2015-04-11 02:39:27 +02:00
Bertrand Bordage 630d7d239b Always hash table cache keys because of an inconsistency between python-memcached 1.53 & 1.54. 2015-04-11 02:38:52 +02:00
Bertrand Bordage 455945faa4 Removes Django 1.6 & Python 2.6 from test matrix. 2015-04-11 02:06:49 +02:00
Bertrand Bordage c2d62dbad3 Uses database cursors as context managers. 2015-04-11 02:04:53 +02:00
Bertrand Bordage 16e14c9219 Drops Django 1.6 & Python 2.6 support. 2015-04-11 01:57:13 +02:00
Bertrand Bordage 9016c650ac Adds a note on how to increase memcached memory limits.
Fixes #13.
2015-04-11 00:59:22 +02:00
Bertrand Bordage 2f8422a622 Updates index.rst. 2015-03-16 16:55:49 +01:00
Bertrand Bordage 0cd05cd945 Updates README. 2015-03-15 19:11:24 +01:00
Bertrand Bordage d447418e63 Version 1.0.0. 2015-03-15 18:15:43 +01:00
Bertrand Bordage e6986744df Adds a TODO. 2015-03-15 17:45:20 +01:00