Commit graph

40 commits

Author SHA1 Message Date
Andrew Chen Wang
165cdb6a00
Add Django 3.2 Support and drop error dependency check (#181)
* Remove system check for Django version
* Closes #175
* Bump version and amend CHANGELOG
* Update with GitHub action CI
* Update README with Python and Django versions
* Limit Django version to 3.2, inclusively.
* Add note on Django constraints to README
* Bump minor version
* Justified by dropping support for dependency versions
* Drop support for Django 2.0-2.1, Python 3.5
* Change CI badge in README to GitHub actions
* Add support for Pymemcache for Django 3.2+
* Add Django 3.2 to test matrix
* Fix MySQL test_explain
* Allow filebased delta leniency in tests
* Allow Subquery in finding more Subqueries (Fixes #156)
* Reverts #157 with proper fix. The initial problem was due to `django.db.models.expressions.Subquery` allowing both QuerySet and sql.Query to be used.
* Fixes Django 3.2 test_subquery and test_invalidate_subquery testing by also checking the lhs
* Fix Django 2.2 Subquery having no query attr
* Fix filebased test time delta
* Fix test_invalidate_having due to new inner_query
* The new inner_query replaces subquery for Django 3.2 where subquery is now a boolean. That's why I initially used that TypeError in _get_tables_from_sql. inner_query looks to be a sql.Query
* Add PyMemcacheCache to supported cache backends

Co-authored-by: Dominik George <nik@naturalnet.de>
2021-05-13 00:27:14 -04:00
Andrew Chen Wang
6108d8e5b6
Use GitHub actions & remove Travis (#173) 2021-04-30 14:26:28 -04:00
Bertrand Bordage
909b4f2934 Moves the repository to @NoriPyt. 2018-05-05 02:30:50 +02:00
Bertrand Bordage
74e000b8e2 Adds Django 2.0 support. 2018-05-04 20:26:26 +02:00
Bertrand Bordage
5ca8a6bb9f Updates test conditions. 2018-05-04 16:19:57 +02:00
Kosei Kitahara
df42746729
Remove EOL version specific macros 2018-04-17 14:51:41 +09:00
Bertrand Bordage
eef82f8aaa Reproduces the conditions of issue #62. 2016-10-23 21:21:30 +02:00
Bertrand Bordage
3dd3082575 Creates a test for CachalotPanel. 2016-10-23 20:06:58 +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
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
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
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
Bertrand Bordage
746616b7b1 Fixes version number comparison. 2015-12-18 16:46:00 +01:00
Bertrand Bordage
f3cea86fb9 Uses PostgreSQL Unix socket in tests. 2015-12-18 13:10:18 +01: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
6b2fdb6da1 Creates a clean way to test PostgreSQL specific features. 2015-10-03 03:18:34 +02:00
Bertrand Bordage
16e14c9219 Drops Django 1.6 & Python 2.6 support. 2015-04-11 01:57:13 +02:00
Bertrand Bordage
eae2521c30 Adds migrations for test models. 2015-01-18 17:44:19 +01:00
Bertrand Bordage
b6c1dfc200 Restores locmem support for Django 1.6. 2014-12-14 08:08:51 +01:00
Bertrand Bordage
3e8135722a Drops pylibmc support with Django 1.6 due to a severe random pylibmc freeze without traceback. 2014-12-14 07:54:54 +01:00
Bertrand Bordage
43b29a9271 Removes locmem support on Django 1.6. 2014-12-14 05:57:40 +01:00
Bertrand Bordage
4b37f69a1c Only add file-based cache if Django >= 1.7. 2014-12-13 23:15:35 +01:00
Bertrand Bordage
c48cbafebc Updates django-redis configuration. 2014-12-13 19:56:34 +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
ee7f9c1cf2 Fixes an error in settings. 2014-12-08 05:00:52 +01:00
Bertrand Bordage
39791bd5cb Only add pylibmc to tests if Python = 2. 2014-12-08 04:13:11 +01:00
Bertrand Bordage
47bb01c7b3 Adds pylibmc support. 2014-12-08 03:47:11 +01:00
Bertrand Bordage
b1804a11ee Adds file-based caching support. 2014-12-08 01:01:58 +01:00
Bertrand Bordage
92e5ed445c Uses a Python 2-3 compatible pickle version for django_redis in tests. 2014-12-07 06:37:24 +01:00
Bertrand Bordage
c401933636 Updates django_redis package name. 2014-12-07 06:32:19 +01:00
Bertrand Bordage
d591fb60bb Fixes the "random number of queries" issue sometimes occuring with locmem. 2014-12-07 04:54:10 +01:00
Bertrand Bordage
78332a7ef0 Fixes Django 1.7 tests. 2014-12-07 04:16:07 +01:00
Bertrand Bordage
780c6cbdc0 Simplifies settings setup. 2014-12-07 03:43:16 +01:00
Bertrand Bordage
c09d95e301 Replaces del dict[k] by dict.pop(k). 2014-11-24 18:41:35 +01:00
Bertrand Bordage
ee33a6c2bd Adds a benchmark. 2014-11-23 20:09:42 +01:00