Commit graph

463 commits

Author SHA1 Message Date
Bertrand Bordage
8caeab4742 Documentation update on CACHALOT_CACHE & some limits. 2016-09-29 19:12:01 +02:00
Bertrand Bordage
f6cfeb6226 Stops automatically invalidating other caches than CACHALOT_CACHE.
This had a negative impact on performance, and it was not working reliably.
It is clearer to invalidate only `CACHALOT_CACHE`, and to detail what
to do in the docs when we change `CACHALOT_CACHE`.
2016-09-29 19:11:21 +02:00
Bertrand Bordage
eb64d1ce2b Fixes a test broken by mysqlclient 1.3.8. 2016-09-29 17:28:27 +02:00
Bertrand Bordage
2b2c662deb Ensures we never send the signal during a transaction. 2016-09-29 13:55:40 +02:00
Bertrand Bordage
a42082e05c Adds a test to check if the signal is not sent during transaction when using invalidate. 2016-09-29 13:49:42 +02:00
Bertrand Bordage
c5d5ee7907 Never caches select_for_update queries. 2016-09-29 11:57:38 +02:00
Bertrand Bordage
dbbc4ff4c8 Documentation typos. 2016-09-13 22:25:42 +02:00
Bertrand Bordage
cffed48026 Version 1.3.0. 2016-09-13 21:59:10 +02:00
Bertrand Bordage
01163c1f29 Renames the Jinja2 extension for Python 2.7 compatibility. 2016-09-13 20:30:18 +02:00
Bertrand Bordage
04afa3f439 Adds a Jinja2 extension. 2016-09-13 20:15:30 +02:00
Bertrand Bordage
62cb9c5c78 Adds a « Do not use if… » documentation paragraph. 2016-09-13 13:51:22 +02:00
Bertrand Bordage
f1093935d2 Adds documentation build requirements. 2016-09-13 13:48:08 +02:00
Bertrand Bordage
7e3137eac7 Revert "Runs the bytes query test for SQLite on Python 2."
This reverts commit 13d71120d1.
2016-09-13 13:22:41 +02:00
Bertrand Bordage
13d71120d1 Runs the bytes query test for SQLite on Python 2. 2016-09-13 12:17:51 +02:00
Bertrand Bordage
82262184c8 Specifies how to invalidate cachalot after changing some settings. 2016-09-07 00:57:27 +02:00
Bertrand Bordage
246873b42f Don’t invalidate uncachable queries. 2016-09-07 00:44:51 +02:00
Bertrand Bordage
522b5af899 Use CACHALOT_TIMEOUT in 3 remaining places. 2016-09-06 23:21:01 +02:00
Bertrand Bordage
571e6ec691 Adds CACHALOT_TIMEOUT. 2016-09-06 21:57:26 +02:00
Bertrand Bordage
762456415a Fixes the test suite. 2016-09-06 20:01:48 +02:00
Bertrand Bordage
2f56831316 Restores PostgreSQL in Travis CI to version 9.4. 2016-09-06 19:09:16 +02:00
Bertrand Bordage
5773b57bb6 Updates Travis CI. 2016-09-06 19:02:09 +02:00
Bertrand Bordage
33bbfcea79 Use the new Django 1.10 release in tox. 2016-09-06 18:57:04 +02:00
Bertrand Bordage
858f88f154 Adds links to the Slack team. 2016-09-06 11:39:00 +02:00
Bertrand Bordage
0373f5eb60 Fixes the bytes → str conversion. 2016-07-21 23:59:11 +02:00
Bertrand Bordage
42cf04ece5 Merge pull request #51 from Ayzse/master
Unicode encode fix
2016-07-21 23:49:38 +02:00
Bertrand Bordage
3562b31056 Tests executing raw bytes queries. 2016-07-21 23:47:35 +02:00
Bertrand Bordage
dbab30a554 Tries to fix Travis CI’s interpretation of the tox file. 2016-07-21 20:08:19 +02:00
Bertrand Bordage
e4c986cb89 Downgrades the pylibmc version. 2016-07-21 19:58:15 +02:00
Bertrand Bordage
b9f84f8047 Change slightly the PostgreSQL backend compatibility code. 2016-07-21 12:26:40 +02:00
Bertrand Bordage
944ebb9b73 Removes old Django 1.7 code. 2016-07-21 12:19:31 +02:00
Bertrand Bordage
ddf7c754f9 Updates PyPI categories. 2016-07-21 12:19:31 +02:00
Bertrand Bordage
56e43380a6 Merge pull request #52 from ryanmrubin/django-1.9-db-engine-names
Add support for django.db.backends.postgresql engine
2016-07-21 11:58:33 +02:00
Bertrand Bordage
a0980cf696 Tests Django 1.10. 2016-07-21 10:57:06 +02:00
Bertrand Bordage
72596ac0b1 Modernizes the manage.py command. 2016-07-21 10:56:23 +02:00
Bertrand Bordage
43b1fa3c2d Drops Python 3.2 and Django 1.7 support. 2016-07-21 10:20:07 +02:00
Ryan Rubin
e282a97a89 Add support for django.db.backends.postgresql engine
This is the new name in 1.9, and the old django.db.backends.postgresql_psycopg2
is left in for backwards compatibility.
2016-07-20 12:28:17 -05:00
Ayzse
651a9bdf75 Unicode encode fix 2016-07-14 10:23:10 -05:00
Bertrand Bordage
d2c9274d5d Doc typo. 2016-05-31 14:03:26 +02:00
Bertrand Bordage
8124bf3f86 Version 1.2.1. 2016-02-17 19:49:22 +01:00
Bertrand Bordage
e0841077e2 Revert "Simplifies the cache key hashing."
This reverts commit beac70251f.
2016-02-17 19:38:41 +01:00
Bertrand Bordage
0ee0172302 Adds the missing Python 3.5 metadata in setup.py. 2016-01-13 21:28:39 +01:00
Bertrand Bordage
f0af6635c0 Updates to 2016. 2016-01-13 20:02:56 +01:00
Bertrand Bordage
f61d4910a2 Version 1.2.0. 2016-01-13 16:00:41 +01:00
Bertrand Bordage
cfcd0f2805 Changes two documented types. 2016-01-12 11:42:57 +01:00
Bertrand Bordage
58fd71c925 Small Python optimisations & simplifications. 2016-01-11 22:57:42 +01:00
Bertrand Bordage
61e7d742af Improves a benchmark message. 2016-01-11 22:08:44 +01:00
Bertrand Bordage
beac70251f Simplifies the cache key hashing. 2016-01-11 22:06:16 +01:00
Bertrand Bordage
cd365cd2e3 Adds the disk model name to the benchmark conditions. 2016-01-11 21:06:22 +01:00
Bertrand Bordage
ef36e56fe7 Changes __version__ for PEP 396 compliance. 2016-01-11 21:05:39 +01:00
Bertrand Bordage
f597a72ee1 Generates a grid on the benchmark results. 2016-01-10 21:56:48 +01:00