Commit graph

10 commits

Author SHA1 Message Date
Johannes Hoppe
f967eb643b Drop Python 2 support 2017-11-25 18:56:46 +01:00
Johannes Hoppe
4dacbdf283 enchant the docs -- adds spell checking 2016-02-04 11:48:59 +01:00
Elijah Karari
3c06873148 Replace "patterns" with list in url config
`django.conf.urls.patterns` has been remmoved in Django 1.9.

Closed #236
2015-12-10 16:05:29 +01:00
Johannes Hoppe
f301dc6f9d Added documentation 2015-09-29 14:33:06 +02:00
Johannes Hoppe
6dad55eb11 Upgrade to select2 4.0 2015-09-29 13:55:05 +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
2cfbfd3325 Code cleanup -- Added pep8 tests for package. 2015-03-30 10:19:37 +02:00
iMom0
80f52a4b27 Do not import urls defaults 2013-03-27 12:14:45 +08:00
Stéphane Raimbault
d24b6a5206 Pylint and useless imports
widgets.py contains DOS and Unix line returns, I've converted it
to DOS only to keep changes small in this commit.
2012-11-09 18:20:32 +01:00
AppleGrew (applegrew)
d5aa9b5ddb Enhanced Heavy fields. Added 'auto' fields. Some bug fixes. 2012-08-05 13:00:44 +05:30