Benbb96
e7fa49a6e2
Prevent literal "None" placeholders ( #591 )
2020-02-25 11:50:21 +01:00
Johannes Hoppe
39ab326884
Add support for Django 3.0
2020-01-05 17:23:31 +01:00
Mario Frasca
d63f410bca
Improve getting started documentation ( #542 )
2019-12-13 14:52:03 +01:00
Adrien Delhorme
5680f0daf9
Update Select2 library to version 4.0.12
2019-11-21 22:27:02 +07:00
Johannes Hoppe
8deb2b6a11
Create FUNDING.yml
2019-10-30 10:09:30 +09:00
Johannes Hoppe
37e2515be6
Add name to setup.py to enable GH dependency graph
2019-10-29 11:30:12 +09:00
Johannes Hoppe
cc8989a625
Fix typo
2019-10-10 13:09:03 -10:00
Johannes Hoppe
1ae52d7436
Fix #574 -- Update jQuery documentation
...
Update jQuery documentation to reflect jQuery versino support.
2019-10-10 13:09:03 -10:00
Johannes Hoppe
dca7dbc5d1
Fix #565 -- Support empty_label on ModelSelect fields.
2019-08-26 17:13:27 +02:00
predatell
8bd7f7209f
Try to get queryset form choices, if possible ( #509 )
...
Get queryset for model widgets from choices. This omits the need to explicitly supply a queryset or model to the widget.
2019-07-09 18:38:59 +02:00
Johannes Hoppe
6b1ca10b06
Fix typo
2019-07-08 18:57:23 +02:00
Johannes Hoppe
4f96e21333
Resolve #557 -- Improve documentation for ModelSelect2TagWidget
2019-07-08 18:57:23 +02:00
Johannes Hoppe
8494b10fcc
Fix pycodestyle issue
2019-06-10 18:03:23 +02:00
Johannes Hoppe
ff68bf1050
Fix #550 -- Omit tests from wheel
2019-06-10 18:03:23 +02:00
Mario Frasca
c15de464d5
Fix #544 -- Ensure correct attribute defaults ( #547 )
...
dict.setdefault() does not change the default value if called twice.
Therefore, defaults need to passed to the super call instead.
2019-06-10 17:09:04 +02:00
Vipul Chaudhary
898b2e84dd
Fix #418 –– Remove extra Q created in the ORM query ( #548 )
...
The iterator for reduce function should not have the first element
select &= reduce(lambda x, y: x | Q(**{y: t}), search_fields[1:], Q(**{search_fields[0]: t}))
2019-06-10 16:57:17 +02:00
Pablo Montepagano
1e4056bd62
fixed typo in docs
2019-06-10 16:54:36 +02:00
Johannes Hoppe
2bb6f3a974
Set Sphinx project settings in conf.py file
2019-04-11 12:29:40 +02:00
Johannes Hoppe
fa9d8baba8
Set master_doc for readthedocs
2019-04-11 12:21:12 +02:00
Johannes Hoppe
df5bf9e893
Fix travis deployment pipeline
2019-04-10 14:05:57 +02:00
Johannes Hoppe
4d0d702aaf
Don't skip after_success
2019-04-10 13:50:22 +02:00
Johannes Hoppe
0c82edf65c
Fix release process
2019-04-10 13:34:15 +02:00
Johannes Hoppe
0021f35b2a
Use setuptools_scm for versioning
2019-04-10 11:58:40 +02:00
Johannes Hoppe
ad42a01083
Fix #535 -- Add static files to dist package
2019-04-10 11:58:40 +02:00
Johannes Hoppe
3a7ecd1666
Move deploy to base level
2019-04-08 20:20:51 +02:00
Johannes Hoppe
2f17e21b0b
Simplify package setup
2019-04-08 19:57:22 +02:00
Johannes Hoppe
9de7f29815
Update issue templates
2019-04-05 15:33:02 +02:00
Johannes Hoppe
ffe91627d8
Add documentation for new request argument
2019-03-23 13:57:13 +01:00
Johannes Hoppe
66d2051c20
Fix django master
2019-03-23 13:57:13 +01:00
Johannes Hoppe
48ceeaa312
Update travis-contif
2019-03-23 13:57:13 +01:00
Johannes Hoppe
9b54cc30c7
Add Django 2.2 support
...
Add Django 2.2 LTS support
Drop Django 1.11 LTS support
Add request argument to `ModelSelect2Mixin.filter_queryset`
2019-03-23 13:57:13 +01:00
Andrew Benedict Wallace
82859121a6
Update get_started.rst ( #513 )
...
explicit import to help us find Select2MultipleWidget
2018-09-06 08:13:59 +02:00
Johannes Hoppe
d34cd2e5de
Enable check suite ( #508 )
2018-08-27 14:14:19 +02:00
Thomas Grainger
e4efaab6f1
Fix automated NPM deployment process ( #505 )
...
Use skip_cleanup to distribute build artifacts.
2018-08-23 18:59:21 +02:00
Johannes Hoppe
1e8971c12b
Fix travis config ( #504 )
2018-08-22 13:49:55 +02:00
Thomas Grainger
de7e7a1903
Publish django-select2 JavaScript code on NPM ( #479 )
2018-08-22 12:04:02 +02:00
Johannes Hoppe
0f18958099
Add Python 3.7 support ( #502 )
2018-08-18 14:36:06 +02:00
Johannes Hoppe
ebbdd2b9be
Add support for Django 2.1 ( #501 )
2018-08-18 13:56:39 +02:00
Johannes Hoppe
e9d96cf856
Cleanup docs build ( #466 )
2018-08-18 13:52:54 +02:00
Johannes Hoppe
f6eaa26c16
Fix #493 -- Fix Python 3.5 compatibility
...
Ref 1954bf57fa
2018-08-05 11:53:10 +02:00
Johannes Hoppe
73d4be8992
Switch Chrome Driver to package
2018-07-27 16:22:17 +02:00
Johannes Hoppe
e1d42bfcad
Update Select2 library to version 4.0.5
2018-07-24 13:05:11 +02:00
Johannes Hoppe
1954bf57fa
Add SELECT2_LIB_VERSION setting
...
The new setting allows to change to default library version to
a specific value without overriding all URLs individually.
2018-07-24 13:05:11 +02:00
Asger Hautop Drewsen
08ca1c1c36
Add note about Select2 support in Django 2.0 admin ( #488 )
...
Resolve #485
2018-07-01 10:37:30 +02:00
Bill Yeh
aef27f48df
Add option to exclude the Select2 library from form media ( #484 )
2018-06-30 14:58:47 +02:00
Johannes Hoppe
f31beec0c4
Add support for custom to_field names for foreign keys ( #486 )
...
Django's ForeignKey supports custom to_fields. The to field is the
primary key by default, but can be modified. The to field is also
used by forms to reduce database lookups.
This patch add support for custom to_field names on both model or
form layer.
2018-06-30 14:56:32 +02:00
dzhuang
496cc7c502
Fallback i18n js files for zh-hans/zh-hant. ( #468 )
...
* Fallback i18n js files for zh-hans/zh-hant.
* Use Django admin's built-in SELECT2_TRANSLATIONS to determine the lang of i18n js files.
2018-06-14 11:49:47 +02:00
Jan Pieter Waagmeester
17af750d88
Link to stable Django version docs not 1.8 ( #480 )
2018-05-31 09:30:22 +02:00
Jan Pieter Waagmeester
67bf060991
Link to github releases from readme+changelog. ( #481 )
2018-05-31 09:29:18 +02:00
Johannes Hoppe
d9c899e8f7
Resolve pickle security note
2018-05-07 18:52:17 +02:00