Commit Graph

515 Commits

Author SHA1 Message Date
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
Bertrand Bordage 55c840b1e5 Reverts mysqlclient use as it fails with Python 3.2.
This reverts commit 4494e945c1.
2015-03-15 17:12:45 +01:00
Bertrand Bordage 4494e945c1 Uses mysqlclient instead of MySQL-python as advised in Django docs. 2015-03-15 16:26:57 +01:00
Bertrand Bordage 40c8700ee5 Adds Python 3 compatibility to the benchmark. 2015-03-15 15:12:05 +01:00
Bertrand Bordage d14293ca55 Fixes unicode table issue with python-memcached3. 2015-03-09 21:59:31 +01:00
Bertrand Bordage c8943103bf Adds a test for unicode SELECTs. 2015-03-09 21:57:31 +01:00
Bertrand Bordage 193758ff9c Fixes unicode table names support on Python 2. 2015-03-09 20:36:53 +01:00
Bertrand Bordage c9b1269210 Adds a test for unicode table names. 2015-03-09 20:07:14 +01:00
Bertrand Bordage 658184beec Version 1.0.0rc. 2015-02-23 21:24:21 +01:00
Bertrand Bordage e370573ea0 Adds base requirements to the tests requirements. 2015-02-23 21:20:03 +01:00
Bertrand Bordage 3da5c92eaa Adds an introduction to the benchmark. 2015-02-22 05:00:48 +01:00
Bertrand Bordage b01000bb40 Fixes Python 3 compatibility. 2015-02-22 01:13:51 +01:00
Bertrand Bordage 0b86ae2bac Uses `next(generator)` instead of `generator.next()` for Python 3. 2015-02-22 01:05:12 +01:00
Bertrand Bordage b7dbd00d02 Adds a test for the management command. 2015-02-22 00:51:47 +01:00
Bertrand Bordage 0c8180a6e7 Adds the `invalidate_cachalot` Django command. 2015-02-18 03:03:32 +01:00
Bertrand Bordage beacea0a8b Handles nested subqueries in Django 1.7. 2015-02-18 01:20:17 +01:00
Bertrand Bordage 9e1447f6ff Handles rare complex queries. 2015-02-18 00:32:51 +01:00
Bertrand Bordage 76b2c08dc8 Adds more rare advanced queries not handled by cachalot. 2015-02-17 23:57:58 +01:00
Bertrand Bordage cd278aea75 Moves a test method. 2015-02-17 22:07:23 +01:00
Bertrand Bordage 67c05ed460 Adds 2 tests for HAVING queries. 2015-02-17 21:47:41 +01:00
Bertrand Bordage 81b63eaff3 Adds a missing test for subqueries. 2015-02-17 21:23:51 +01:00
Bertrand Bordage 13f296f190 Adds benchmark conditions. 2015-02-16 21:25:19 +01:00
Bertrand Bordage 2249e07b24 Updates to 2015. 2015-02-16 21:14:06 +01:00
Bertrand Bordage 639f782903 [Docs] Improves Limits.Redis. 2015-02-16 21:12:52 +01:00
Bertrand Bordage 1687d16502 Uses query.table_map instead of query.alias_map. 2015-02-16 21:04:53 +01:00
Bertrand Bordage 37ea9eb801 Merge pull request #9 from stefantalpalaru/redis-limits
Documents Redis default key eviction policy issue.
2015-02-16 20:05:37 +01:00