Commit graph

482 commits

Author SHA1 Message Date
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
Johannes Hoppe
e4729feb9a Add bandit config 2018-05-07 18:52:17 +02:00
Jan Pieter Waagmeester
2ea6ef8edb Fix typo in docstring ChoicesField -> ChoiceField (#472)
It's `django.forms.ChoiceField`, not `django.forms.ChoicesField`.

Used correctly here: 
a9aa31146f/django_select2/forms.py (L143)
2018-05-06 13:02:38 +02:00
Sergey Fedoseev
a9aa31146f Fixed display of ModelSelect2Mixin.filter_queryset() doc. (#470) 2018-03-24 14:25:42 +01:00
Inti Ocean
c2331b272a Add some quickstart docs (#467)
Add some quickstart docs to make it easy for someone to pick up the library and get going
straight away.
2018-03-19 12:09:54 +01:00
Johannes Hoppe
5d98048c9f
Fix #464 -- Freeze Sphinx to 1.6.5
Ref sphinx/shpinx#4520
2018-03-07 22:36:43 +01:00
Johannes Hoppe
7782e9bc3d
Fix #461 -- Remove explicit Django version classifiers 2018-02-17 15:05:46 +01:00
Alessio Ferri
426cace3a3 Improving documentation (#455) 2018-02-02 10:26:51 +01:00
Johannes Hoppe
90fbf7422f
Fix #451 -- Remove none ASCII char 2018-01-10 18:19:13 +01:00
Johannes Hoppe
f6d5afe51d Add support for Django 2.0 2017-11-25 18:56:46 +01:00
Johannes Hoppe
19e2e50921 Drop Django 1.8 and 1.10 support 2017-11-25 18:56:46 +01:00
Johannes Hoppe
937dcac08b Drop Python 3.5 support 2017-11-25 18:56:46 +01:00
Johannes Hoppe
322b389ad3 Increment version number 2017-11-25 18:56:46 +01:00
Johannes Hoppe
ac7050d2db Fix coerage badge 2017-11-25 18:56:46 +01:00
Johannes Hoppe
d4dcc5f3c0 Switch to short version of APL2 2017-11-25 18:56:46 +01:00
Johannes Hoppe
cca6583d48 Switch README to reStructuredText 2017-11-25 18:56:46 +01:00
Johannes Hoppe
1b1f345b3d Switch releases to pbr 2017-11-25 18:56:46 +01:00
Johannes Hoppe
e09951ce62 Unfreeze development requirements 2017-11-25 18:56:46 +01:00
Johannes Hoppe
f967eb643b Drop Python 2 support 2017-11-25 18:56:46 +01:00
Jens Timmerman
176be2fdcf Update setup.cfg (#446)
not all build systems running `python setup.py bdist_rpm`  will generate a setup.cfg if one is already present
so we need to repeat the dependencies from setup.py in setup.cfg's bdist_rpm section if we want to create correct dependencies  in the rpm's generated. (django appconf 0.6 is called python-django-appconf in redhat/centos/fedora)
2017-11-23 12:51:54 +01:00
Johannes Hoppe
e1f5b7d999 Switch from coveralls to codecov 2017-11-10 09:47:12 +01:00
pyup-bot
5f263f9385 Update jinja2 from 2.9.6 to 2.10 2017-11-09 13:46:01 +01:00
pyup-bot
3ebad0dc12 Update coverage from 4.4.1 to 4.4.2 2017-11-05 16:01:56 +01:00
pyup-bot
00c082bd6d Update selenium from 3.6.0 to 3.7.0 2017-11-03 10:20:18 +01:00
pyup-bot
3cc666e46d Update pytz from 2017.2 to 2017.3 2017-11-01 13:53:56 +01:00
pyup-bot
47c191fe13 Update flake8 from 3.4.1 to 3.5.0 2017-10-24 20:37:37 +02:00
pyup-bot
4ebbb05d11 Update pep8 from 1.7.0 to 1.7.1 2017-10-24 20:35:32 +02:00
pyup-bot
4ba7ecb8a0 Update sphinx from 1.6.4 to 1.6.5 2017-10-23 09:43:50 +02:00