Johannes Hoppe
e3c6919bbd
Fix tests
2016-08-15 09:07:57 +02:00
Johannes Hoppe
9f5644b479
Upgrade select2 to 4.0.3
2016-08-15 08:58:34 +02:00
Johannes Hoppe
c797e59584
Bump version number to 5.8.7
2016-08-14 10:41:31 +02:00
Josef Kolář
72616f8276
ModelSelect2Mixin - avoid queryset evaluation ( #287 )
2016-08-14 10:38:57 +02:00
Johannes Hoppe
99aed19308
Write changelog bump version to 5.8.6
2016-06-19 12:29:45 +02:00
Jonas Haag
74bf15ce48
Drop six requirement, use django.utils.six instead ( #282 )
...
* Drop six requirement, use django.utils.six instead
* Drop six requirement, use django.utils.six instead
* Make isort happy
2016-06-19 12:27:49 +02:00
Johannes Hoppe
57dfd53d55
Bump version number
2016-05-23 16:18:39 +02:00
Johannes Hoppe
f943fe07f5
Fixes #256 -- Don't render empty option for multiselect ( #275 )
2016-05-23 16:17:31 +02:00
AppleGrew
a6a12d7392
Doc link's domain name updated
2016-04-28 13:12:16 +05:30
Johannes Hoppe
f579f4af35
Adds travis-ci auto deploy
2016-04-22 15:25:04 +02:00
Julian
0b3abb8f1f
Fixes minor documentation typo
2016-04-03 13:20:53 +02:00
Jônatas Castro
01c8979100
Fixes #238 -- Changed Token Separators
...
When Django was parsing the separator attribute, it was comming with 'u' char from unicode.
So the trick was to put the value in a String.
Solved https://github.com/applegrew/django-select2/issues/238
Closes #268
2016-03-10 15:34:30 +01:00
Damir Arbula
f6ee1f57db
Add exception handling for cPickle.PicklingError to widget caching
...
Closes #265
2016-03-08 16:30:47 +01:00
Johannes Hoppe
894a251be3
Switch coverage badge to SVG
2016-03-01 10:16:11 +01:00
Damir Arbula
9ed8f58fa6
Fixes #260 -- Normalize choices keys and selected choices to strings
2016-03-01 10:08:41 +01:00
Johannnes Hoppe
a8a4baf04d
Fixes #261 -- Adds better hints if widget is not serialisable to django cache
...
Closes #263
2016-02-24 18:51:39 +01:00
Johannes Hoppe
5b0400dfaa
Bump version number
2016-02-08 10:44:22 +01:00
Johannes Hoppe
7923eeb0ee
Removes choices from render and render_options signature
...
Choices has been removed by @jpic in
926e90132d
2016-02-08 10:13:10 +01:00
Johannes Hoppe
f09f9e5249
Adds sphinx spelling to read the docs requirements
2016-02-04 12:09:18 +01:00
Johannes Hoppe
031ec6682c
Fixes isort for future builds
2016-02-04 11:59:50 +01:00
Johannes Hoppe
4dacbdf283
enchant the docs -- adds spell checking
2016-02-04 11:48:59 +01:00
Johannes Hoppe
bc9601b3d3
Refactor inheritance tree
2016-02-04 11:48:42 +01:00
Johannes Hoppe
d57b726d34
Adds napoleon to march to google style signatures
2016-02-04 11:48:07 +01:00
Johannes Hoppe
d25e733c85
Fixes #245 -- Fixes `ModelSelect2TagWidget` documentation
...
There where multiple typos and missing references
Closed #248
2016-02-04 10:59:42 +01:00
Johannes Hoppe
27091f5b49
Fixes #250 -- Adds link to ModelWidgets in quick start guide
2016-02-03 19:47:40 +01:00
Johannes Hoppe
8d48887f5c
Fixes tests for python 2.7
2016-01-28 14:45:28 +01:00
Johannes Hoppe
fa6a841746
Adds test for get_url type issue
2016-01-27 10:20:27 +01:00
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
Johannes Hoppe
4a1b83ad1e
Fixes security bug and adds secruity documentation
...
An attacker was able to use a `field_id` from a "secret" field
and use if on any even the default public select2 view and
receive the data without authentication.
2016-01-26 13:18:36 +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
89674ec375
Update conf.py
...
Minor copy-paste error.
Closed #240
2015-12-17 10:15:11 +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
84e1abaf4e
Remove model_mommy test dependency
2015-12-02 20:05:38 +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
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
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
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
b0d2325c43
Resolved #209 -- Added pagination
2015-10-05 19:01:43 +02:00