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
18647161a1
Fixed docs
2015-11-29 20:47:22 +01:00
Royendgel Silberie
3e6c1fc3ba
fixing small typo
...
Closed #227
2015-11-29 20:03:01 +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
Thomas Schreiber
2beb5d23c7
Fix HeavySelect2TagWidget to respect custom attrs and default overrides
...
Closed #214
2015-10-27 17:44:22 +01:00
Johannes Hoppe
2c1eb8bc4a
Fixed -- IndexError: pop from empty list
2015-10-05 12:59:35 +02:00
Johannes Hoppe
75c8c38e2d
Impooved cacheing to reduce pickling issues
...
Not not the entire widget gets cached nor the entire queryset.
The query and gets pickeld separately.
2015-10-01 14:07:51 +02:00
Johannes Hoppe
dc81c2b3b5
Added search term splitting
2015-10-01 13:05:52 +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
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
f80abb10f2
Added allow-clear support
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