Commit graph

374 commits

Author SHA1 Message Date
Bertrand Bordage
14151bc1fd Typo. 2015-10-26 20:51:55 +01:00
Bertrand Bordage
43bd5e1b38 Fixes the independence issue when nesting atomic block of different databases. 2015-10-26 02:42:13 +01:00
Bertrand Bordage
5a077ee607 Moves two table lines in the docs. 2015-10-25 20:46:38 +01:00
Bertrand Bordage
3a0372c2e9 Typos in the docs introduction. 2015-10-25 20:34:27 +01:00
Bertrand Bordage
130be2a434 Adds a whole comparison with other ORM caches. 2015-10-25 20:08:18 +01:00
Bertrand Bordage
6249ade208 Improves documentation of the latest additions. 2015-10-25 00:47:24 +02:00
Bertrand Bordage
cb0cb1d7a4 Merge remote-tracking branch 'origin/master' into django-1.8
Conflicts:
	docs/quickstart.rst
2015-10-24 22:37:19 +02:00
Bertrand Bordage
fa2f829bad Merge pull request #31 from alsonkemp/master
Adds a direct mention to the multi-server synchronisation issue in the quick start guide.
2015-10-24 22:34:40 +02:00
Bertrand Bordage
f0afd485b2 Typo. 2015-10-24 21:21:23 +02:00
Bertrand Bordage
f5bfeec59b Adds a get_last_invalidation template tag. 2015-10-24 20:26:11 +02:00
Alson Kemp
6d14f074c5 Update to Quick Start
Highlight the need to sync clock across multiple servers.
2015-10-16 11:54:11 -07:00
Bertrand Bordage
1dfe4564c4 Allow GeoDjango and django-transaction-hooks db backends to be used. 2015-10-13 11:56:47 +02:00
Bertrand Bordage
6c13636044 Creates get_last_invalidation(), while simplifying API usage. 2015-10-05 23:48:48 +02:00
Bertrand Bordage
abc00b1307 Merges invalidate_all, invalidate_tables and invalidate_models, while optimising it. 2015-10-05 22:31:47 +02:00
Bertrand Bordage
d93e4c3e90 Fixes the benchmark by setting up django before importing a model.
Otherwise, Django thinks the Test model is from a 'tests' application instead of 'cachalot'.
2015-10-05 21:06:15 +02:00
Bertrand Bordage
6b385919f1 Fixes tests on Django 1.7. 2015-10-05 20:20:43 +02:00
Bertrand Bordage
a8b77c6e32 Adds CACHALOT_ONLY_CACHABLE_TABLES. 2015-10-05 20:10:19 +02:00
Bertrand Bordage
5b0ffb984f Typo. 2015-10-04 23:29:21 +02:00
Bertrand Bordage
64650340b6 Checks that the database and the cache are compatible. 2015-10-04 23:07:52 +02:00
Bertrand Bordage
8fc89836d0 Fixes migration on Django 1.7. 2015-10-04 22:24:58 +02:00
Bertrand Bordage
bd16cba2ae [Travis CI] Modify the PostgreSQL user so it can create extensions. 2015-10-04 22:20:53 +02:00
Bertrand Bordage
4a5fe823ff Fixes Django 1.7 tests. 2015-10-04 22:17:49 +02:00
Bertrand Bordage
3a6f7bbc29 Tests all django.contrib.postgres reading possibilities + makes caching work for most array and hstore queries. 2015-10-04 22:14:18 +02:00
Bertrand Bordage
0832e35321 Tests timezones. 2015-10-04 21:04:54 +02:00
Bertrand Bordage
f05b143e4c Tiny optimisation. 2015-10-04 21:02:10 +02:00
Bertrand Bordage
42fc5d2f0e Simplification. 2015-10-04 19:53:19 +02:00
Bertrand Bordage
009b7ca557 Handles Django bug #25501 in tests. 2015-10-04 18:35:44 +02:00
Bertrand Bordage
4645ff4fb4 Updates the version of PostgreSQL used by Travis CI. 2015-10-03 04:46:24 +02:00
Bertrand Bordage
e1ac02bec7 Fixes Django 1.7 compatibility. 2015-10-03 04:30:23 +02:00
Bertrand Bordage
6b2fdb6da1 Creates a clean way to test PostgreSQL specific features. 2015-10-03 03:18:34 +02:00
Bertrand Bordage
3e393b6067 Stops using deprecated functions. 2015-10-03 01:00:34 +02:00
Bertrand Bordage
efd2a2c8a0 Looks like optional models.py are not really optional… Django is buggy… 2015-10-03 00:47:44 +02:00
Bertrand Bordage
ab50666a00 Removes the useless models.py since Django 1.7. 2015-10-03 00:10:31 +02:00
Bertrand Bordage
ce32ac4c41 Removes the useless explicit app_label since Django 1.7. 2015-10-03 00:10:08 +02:00
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