Johannes Hoppe
0ee50d9866
Fixes pickel issue of lazy object
2016-01-27 10:01:19 +01:00
Johannes Hoppe
7d8908daab
Fixes version number and QA issue
2016-01-26 17:55:56 +01:00
mostafa-anm
33a00c1e39
Fixed #218 -- Add custom label support
...
Added `label_from_instance` method for model widgets to define custom option labels.
Closed #233
2016-01-19 08:50:09 +01:00
Andrew Dodd
e655ed7a59
Add setting to change source of select2 assets
...
These changes introduce additional (optional) configuration parameters.
The parameters allow the user of the library to select different JS/CSS
libraries from the ones shipped. In particular, this allows serving from
the local server and/or in private-network-only environments.
Refs #220
Closed #239
2015-12-15 19:57:48 +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
4defb8112b
Fixed #222 -- Display intital data for heavy widgets
2015-12-01 10:19:02 +01:00
Johannes Hoppe
bb90be77b7
Fixed #231 -- Avoid fetching entire queryset from db
...
Patched ciritcal memory leak in ModelSelect2 widgets.
Boolean evaluation of queryset makes django fetch all
elements.
Thanks to @magicjohnson for discovering this issue
2015-11-30 13:17:02 +01:00
Johannes Hoppe
19a8d63bb1
Refactors tag widgets and adds light tag widget
...
Currently there was no light version of the tag widget.
A light version might come handy if you use a postgres
`ArrayField` and a corresponding `SimpleArrayField`.
Resolved #226
2015-11-23 11:54:51 +01:00
Anne Fleischer
0457617738
Fixed javaScript bug for multiple different select2 fields on one page
...
Closed #224
2015-11-18 00:03:02 +01:00
Anne Fleischer
974ba552b0
Converted initialization code into configurable jQuery plugin
...
Closed #211
2015-11-12 12:50:58 +01:00
Thomas Schreiber
2beb5d23c7
Fix HeavySelect2TagWidget to respect custom attrs and default overrides
...
Closed #214
2015-10-27 17:44:22 +01:00
Johannes Hoppe
b8d53aa714
Added v5.2.0 changelog
2015-10-05 19:34:52 +02:00
Johannes Hoppe
2c1eb8bc4a
Fixed -- IndexError: pop from empty list
2015-10-05 12:59:35 +02:00
Johannes Hoppe
a91e66bf9e
Created v5.1.0 release
2015-10-01 14:09:41 +02:00
Johannes Hoppe
485ea191cb
Fixed filter_queryset bug
...
The reduce statement coundn't handle multiple lookup strings.
2015-09-30 10:28:37 +02:00
Johannes Hoppe
4d484163c2
Fixed packaging error
2015-09-29 15:12:57 +02:00
Johannes Hoppe
e184f5fea6
Bump version number because v5.0.0 was taken on pypi due to mistake
2015-09-29 14:46:43 +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
6dad55eb11
Upgrade to select2 4.0
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
29c74ae63e
Fixed version number an changelog
2015-09-25 11:39:04 +02:00
Nirupam Biswas
905f691e01
New release updates
2015-09-25 00:27:03 +05:30
Daniel Hahler
de37752ac6
doc: fix typos/grammar
2015-06-08 11:35:09 +02:00
Nirupam Biswas
5f9477b664
Version 4.3.1
2015-04-29 01:14:11 +05:30
Nirupam Biswas
a57cb59436
Fixing setup.py and releasing 4.3.0.
2015-04-27 22:19:15 +05:30
Johannes Hoppe
2cfbfd3325
Code cleanup -- Added pep8 tests for package.
2015-03-30 10:19:37 +02:00
crccheck
3d800e6868
update capitalization of proper nouns
...
I usually spell ajax as AJAX, but after doing some reasearch, it seems
like Ajax is more commonly used.
2013-11-19 19:09:19 -06:00
crccheck
66a0ebfe99
fix random typos found while reading the project
2013-11-19 19:00:58 -06:00
7wonders
3be6962993
Adds bootstrap 3 support to make select2 look a little nicer
2013-11-08 03:34:03 +01:00
AppleGrew (applegrew)
7d66164e65
Bumping to v4.2.2.
2013-11-05 21:28:05 +05:30
AppleGrew (applegrew)
564bfd3467
v4.2.1
2013-09-17 23:10:14 +05:30
AppleGrew (applegrew)
cc94db7e2b
Issue 54. Widget performance fix.
2013-09-17 22:02:32 +05:30
AppleGrew (applegrew)
096162ac84
Changed some log levels.
2013-09-16 11:37:34 +05:30
AppleGrew (applegrew)
ab57470b02
Adding Tagging support.
2013-09-16 02:03:08 +05:30
AppleGrew (applegrew)
12ad5255d0
Bumping Select2 JS version to 3.4.2.
2013-09-15 13:38:41 +05:30
AppleGrew (applegrew)
fe1fb4fd76
Updating Select2 JS to 3.4.1
2013-07-06 10:04:18 +05:30
AppleGrew (applegrew)
e082822cdd
v4.0.0 Added Hashed Id generation scheme
2013-03-15 11:30:40 +05:30
AppleGrew (applegrew)
f58f608b23
v3.3.1 commit
2013-03-13 00:29:02 +05:30
AppleGrew (applegrew)
05b69c89b6
* Multi-process support. * Updated Select2 to 3.3.1.
2013-03-02 11:25:00 +05:30
AppleGrew (applegrew)
322fc67759
Major typo. Regression in widgets.
2013-01-19 17:30:04 +05:30
AppleGrew (applegrew)
3fb6581737
Heavy no longer has any need for caching user selections in cookies or localStorage.
2013-01-13 10:58:52 +05:30
AppleGrew (applegrew)
ec8f815b9c
v3.1.5
2012-12-18 09:54:55 +05:30
AppleGrew (applegrew)
913453f8ef
v3.1.4. Manually picked changes from Issue#16 (pull request).
2012-11-27 10:31:40 +05:30
AppleGrew (applegrew)
cf960fe11b
v3.1.3 released.
2012-11-26 23:17:15 +05:30
AppleGrew (applegrew)
be760d69c0
Version 3.1.2 doc n version no. update
2012-10-04 23:23:21 +05:30
AppleGrew (applegrew)
1e166c7e8f
Let Django_select2 be imported even when Django is not installed.
2012-10-02 21:07:47 +05:30
AppleGrew (applegrew)
0d40026fe0
Doc updates.
2012-09-29 01:32:21 +05:30
AppleGrew (applegrew)
3ac09c7a96
* Fixed setup.py to include templates dir * Updated select2 to version 3.2
2012-09-28 23:26:12 +05:30