Commit Graph

22 Commits

Author SHA1 Message Date
Johannes Hoppe 5840622794 Add support for Django 1.11
Drop support for Django 1.9
2017-04-14 14:09:23 +02:00
Johannes Hoppe c235c2e3f0 Add standardjs linter 2017-02-23 10:04:36 +01:00
Johannes Hoppe f1e0752f2d Update gecko driver to 0.14.0 2017-02-21 15:07:19 +01:00
Johannes Hoppe 6180846345 Update test suite
- Add tox
- Add python 3.6
- Drop python 3.4
- Add chrome and gecko driver
- Switch tests from memcache to redis
2016-12-28 21:02:32 +01:00
Johannes Hoppe f03d7d44a8 Add tests for Django 1.10 release 2016-08-25 10:05:22 +02:00
Johannes Hoppe f579f4af35 Adds travis-ci auto deploy 2016-04-22 15:25:04 +02:00
Johannes Hoppe 4dacbdf283 enchant the docs -- adds spell checking 2016-02-04 11:48:59 +01:00
Johannes Hoppe 6ebeb4c6d7 Fixed pep257 issues 2015-12-02 19:40:14 +01:00
Johannes Hoppe 7d8a7e7a9f Fixed pytest setup on travis 2015-12-02 19:32:28 +01:00
Johannes Hoppe 9ba75bb820 Updated test suite for python 3.5 support 2015-12-02 19:28:16 +01:00
Johannes Hoppe cfc7c2c541 Added pip-tools for requirement manageing
Updated requirements
2015-12-02 19:27:23 +01:00
Johannes Hoppe 6c5e2036ca Updated test suite and setup file for Django 1.9 release 2015-12-02 18:57:28 +01:00
Johannes Hoppe 48ea7549a6 Freeze dev requirements to avoid travis error 2015-10-01 13:01:52 +02:00
Johannes Hoppe 5dfd8553cc Added tests 2015-09-29 13:55:05 +02:00
Johannes Hoppe 95297a362e Radical removal of all unneeded code 2015-09-29 13:54:23 +02:00
Johannes Hoppe 33b7dffca1 Removed own caching solution in favour of django caching
The old multiprocessing support was hard to maintain.
Since signing and caching are part of `django.core`
there is really no need to stick to our own solution.

As a result multimachine support and security are now always in place.
Fields are stored in Django's cache. The default cache used by select2
is called 'default' but can be cachanged overwriting the setting
`SELECT2_CACHE_BACKEND`.

Recommended cache backends are memcached, redis or a DB-cache.

Refactored AutoResponseView

The main reason for this refactoring is
the fact that the pagingnation was slow.

I dropped major parts of the initial code
and wrote a more django-like-approach.

Noteabley:
- get_results now retuns a QuerySet
- This commit drops django 1.6 support in favour of the JsonResponse (Backporting is possible).
2015-09-29 13:53:29 +02:00
Johannes Hoppe 66a36c3ea2 Added tests for django master 2015-08-06 10:10:44 +02:00
Johannes Hoppe a38eb1168b Changed travis tests to supported versions 2015-06-17 17:06:20 +02:00
Johannes Hoppe b07ad8939c Removed Django from install requirements added 1.8 tests 2015-04-08 17:46:29 +02:00
Johannes Hoppe bd40acc761 Added six types and fixed setup 2015-03-31 10:22:03 +02:00
Johannes Hoppe 2cfbfd3325 Code cleanup -- Added pep8 tests for package. 2015-03-30 10:19:37 +02:00
Johannes Hoppe 18fa453ac0 Added initial tests 2015-03-29 22:32:19 +02:00