Commit graph

26 commits

Author SHA1 Message Date
Johannes Hoppe
2f17e21b0b Simplify package setup 2019-04-08 19:57:22 +02:00
Johannes Hoppe
1b1f345b3d Switch releases to pbr 2017-11-25 18:56:46 +01:00
Johannes Hoppe
f967eb643b Drop Python 2 support 2017-11-25 18:56:46 +01:00
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
7d8a7e7a9f Fixed pytest setup on travis 2015-12-02 19:32:28 +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
4d484163c2 Fixed packaging error 2015-09-29 15:12:57 +02:00
Johannes Hoppe
f301dc6f9d Added documentation 2015-09-29 14:33:06 +02:00
Johannes Hoppe
5dfd8553cc Added tests 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
Sergey Fursov
b19f166992 Fixed bug in minify pre-setup function
Collect all files from collection instead of last one only
2015-04-28 17:35:55 +03:00
Nirupam Biswas
a57cb59436 Fixing setup.py and releasing 4.3.0. 2015-04-27 22:19:15 +05:30
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
18fa453ac0 Added initial tests 2015-03-29 22:32:19 +02:00
Adam Bogdal
f9992c934f Don't build package as an egg 2014-07-16 22:00:06 +02:00
7wonders
6322a26e7f Added built in minify script changes so that select2-bootstrap is minified for production 2013-11-08 04:53:35 +01:00
AppleGrew (applegrew)
710284eac4 Unicode fix in setup.py 2013-04-11 10:14:46 +05:30
AppleGrew (applegrew)
f58f608b23 v3.3.1 commit 2013-03-13 00:29:02 +05:30
franck Bret
a1b6594e51 Be smarter with django requirements version 2013-03-12 12:18:17 +01:00
AppleGrew (applegrew)
d0f39f9fc4 Simple fix in setup.py 2013-03-02 12:03:12 +05:30
AppleGrew (applegrew)
1aedde99d6 Now minifying CSS and JS files. During production they will be used intead.
The minification process has been automated too. When sdist command is
given to setup.py then it will use web-service to minify the js n css
files.
2013-01-13 23:25:47 +05:30
AppleGrew (applegrew)
cfc291682c Updated setup.py to correct license name. 2013-01-13 15:20:13 +05:30
AppleGrew (applegrew)
31512e0eb7 Adding templatetags to setup.py 2012-09-29 01:30:08 +05:30
AppleGrew (applegrew)
699a2bf5e4 Setup updates 2012-08-24 01:27:32 +05:30
AppleGrew (applegrew)
d5aa9b5ddb Enhanced Heavy fields. Added 'auto' fields. Some bug fixes. 2012-08-05 13:00:44 +05:30